Click or drag to resize
WebDAVHelperIsCurrentUserAuthorizedPerMediaLibrary Method (MediaLibraryInfo, String)
Returns True if current user has permission, otherwise returns False.

Namespace: CMS.WebDAV
Assembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 11.0.0
Syntax
C#
public static bool IsCurrentUserAuthorizedPerMediaLibrary(
	MediaLibraryInfo mediaLibrary,
	string permission
)

Parameters

mediaLibrary
Type: CMS.MediaLibraryMediaLibraryInfo
Media library
permission
Type: SystemString
Permission code name

Return Value

Type: Boolean
See Also