WebDAVHelperIsCurrentUserAuthorizedPerMediaLibrary Method (MediaLibraryInfo, String) |
Returns True if current user is authorized at least on one permission, otherwise returns False.
Namespace: CMS.WebDAVAssembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 8.2.23
Syntax public static bool IsCurrentUserAuthorizedPerMediaLibrary(
MediaLibraryInfo mediaLibrary,
string[] permissions
)
Parameters
- mediaLibrary
- Type: CMS.MediaLibraryMediaLibraryInfo
Media library - permissions
- Type: SystemString
Permission array
Return Value
Type:
BooleanSee Also