| DataObjectControllerAssignPermissions Method |
Assigns a set of permissions to a data object.
If the data object inherits its security then the inheritance is broken before the new permissions are assigned.
All existing permissions (regardless of whether security is inherited or not) is cleared before the new permissions are assigned.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic void AssignPermissions(
int dataObjectId,
IEnumerable<DataObjectPermission> permissions
)
Parameters
- dataObjectId
- Type: SystemInt32
- permissions
- Type: System.Collections.GenericIEnumerableDataObjectPermission
See Also