Returns True if current user is granted with specified media library permission, otherwise returns False.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- libraryInfo
- Type: CMS.MediaLibrary MediaLibraryInfo
Media library data
- permission
- Type: System String
Permission code name
- userInfo
- Type: CMS.Membership CurrentUserInfo
User to check
Return Value
Type: BooleanSee Also