WebDAVHelper IsCurrentUserAuthorizedPerMediaLibrary Method (MediaLibraryInfo,  String )Kentico 8.0 API Reference
Returns True if current user is authorized at least on one permission, otherwise returns False.

Namespace: CMS.WebDAV
Assembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

mediaLibrary
Type: CMS.MediaLibrary MediaLibraryInfo
Media library
permissions
Type:  OnlineSystem String 
Permission array

Return Value

Type: OnlineBoolean
See Also