WebDAVHelperIsCurrentUserAuthorizedPerMediaLibrary Method (MediaLibraryInfo, String) |
Returns True if current user has permission, otherwise returns False.
Namespace: CMS.WebDAVAssembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 9.0.0
Syntax public static bool IsCurrentUserAuthorizedPerMediaLibrary(
MediaLibraryInfo mediaLibrary,
string permission
)
Parameters
- mediaLibrary
- Type: CMS.MediaLibraryMediaLibraryInfo
Media library - permission
- Type: SystemString
Permission code name
Return Value
Type:
BooleanSee Also