Click or drag to resize
MediaLibraryRolePermissionInfoProviderRemoveRoleFromLibrary Method

Note: This API is now obsolete.

Deletes specified library role.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IMediaLibraryRolePermissionInfoProvider.Remove(int libraryId, int roleId, int permissionId) instead. WARNING: The suggested replacement has different order of parameters. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MediaLibraryRolePermissionInfo.Provider.")]
public static void RemoveRoleFromLibrary(
	int roleId,
	int libraryId,
	int permissionId
)

Parameters

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