WebDAVHelper IsCurrentUserAuthorizedPerMediaLibrary Method (MediaLibraryInfo,  String )Kentico 8.1 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.1.5347.20411)

Parameters

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

Return Value

Type: OnlineBoolean
See Also