MediaLibraryRolePermissionInfoProviderSetPermissions Method |
Sets permissions in permissionsIds for each role in roleIds.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax public static void SetPermissions(
int libraryId,
IList<int> roleIds,
IList<int> permissionsIds
)
Parameters
- libraryId
- Type: SystemInt32
Media library ID. - roleIds
- Type: System.Collections.GenericIListInt32
List of role IDs. - permissionsIds
- Type: System.Collections.GenericIListInt32
List of permission IDs.
See Also