MediaLibraryRolePermissionInfoProviderAddRoleToLibrary Method |
Adds specified role to the library.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax 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