Click or drag to resize
MediaLibraryRolePermissionInfoProviderSetPermissions Method
Sets permissions in permissionsIds for each role in roleIds.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
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