A string representation of roles and users who have view (or denied view) permissions
Namespace: DotNetNuke.Services.Search.EntitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public string Permissions { get; set; } |
Visual Basic |
---|
Public Property Permissions As String Get Set |
Remarks
The Permission property is same as how it’s implement internally in the Platform. Allow or Deny permission can be specified for RoleNamess and / or UserIds.
A semicolon must be specified to separate two RoleName or UserId.
"!Translator (en-US);![3];[5];Administrators; ContentEditorRole"
! -- identifies denied permission
[n] -- identifies UserId
Above example denies permission to Role “Translator (en-Us)” and UserId 3, but allows permission to Roles “Administrators” and “ContentEditorRole” and UserId