Click or drag to resize

GenericRightManagerSaveRights Method

Applies the data rights to all the given datas. If inherit is set to true, the data rights are also inherited to container items, if the data is of type PsrContainer. If overwrite is set to true, all existing data rights on the object are cleared before the new ones are applied. If set to false, the method only applies the changes in data rights.

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntax
C#
public Task SaveRights(
	List<PsrData> datas,
	List<PsrDataRight> rights,
	bool inherit,
	bool overwrite,
	bool ignoreDatabaseAdmins = false
)

Parameters

datas
Type: System.Collections.GenericListPsrData
rights
Type: System.Collections.GenericListPsrDataRight
inherit
Type: SystemBoolean
overwrite
Type: SystemBoolean
ignoreDatabaseAdmins (Optional)
Type: SystemBoolean
Should be set to true when moving objects to another OU. Only takes effect when overwrite is set to true

Return Value

Type: Task
See Also