MediaLibraryRolePermissionInfoProviderSetPermissions Method |
Sets permissions for list of roles.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax public static void SetPermissions(
int libraryId,
string roleIds,
string permissionsIds
)
Parameters
- libraryId
- Type: SystemInt32
Media library ID - roleIds
- Type: SystemString
List of role IDs separated by semicolon - permissionsIds
- Type: SystemString
List of permission IDs separated by semicolon
See Also