Click or drag to resize
MediaLibraryRolePermissionInfoProviderAddRoleToLibrary Method
Adds specified role to the library.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax
C#
public static void AddRoleToLibrary(
	int roleId,
	int libraryId,
	int permissionId
)

Parameters

roleId
Type: SystemInt32
Role ID
libraryId
Type: SystemInt32
Library ID
permissionId
Type: SystemInt32
Permission ID
See Also