IMediaLibraryRolePermissionInfoProviderGetAsync Method |
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax Task<MediaLibraryRolePermissionInfo> GetAsync(
int libraryId,
int roleId,
int permissionId,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- libraryId
- Type: SystemInt32
Media library ID. - roleId
- Type: SystemInt32
Role ID. - permissionId
- Type: SystemInt32
Permission ID. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation instruction.
Return Value
Type:
TaskMediaLibraryRolePermissionInfoReturns a task returning either an instance of
MediaLibraryRolePermissionInfo corresponding to given identifiers or null.
See Also