Click or drag to resize
MediaLibraryRolePermissionInfoProviderSetPermissions Method
Sets permissions for list of roles.

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