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.5.33325 (02.09.2025)+429b894eb63dde25f05b27278f37720b53aa9a8f
Syntaxpublic 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