Click or drag to resize
MediaLibraryRolePermissionInfoProviderGetMediaLibraryRolePermissionInfo Method

Note: This API is now obsolete.

Returns the media library role permission structure matching specified criteria.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IMediaLibraryRolePermissionInfoProvider.Get(int libraryId, int roleId, int permissionId) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MediaLibraryRolePermissionInfo.Provider.")]
public static MediaLibraryRolePermissionInfo GetMediaLibraryRolePermissionInfo(
	int libraryId,
	int roleId,
	int permissionId
)

Parameters

libraryId
Type: SystemInt32
ID of the library
roleId
Type: SystemInt32
ID of the role
permissionId
Type: SystemInt32
ID of the permission

Return Value

Type: MediaLibraryRolePermissionInfo
See Also