SPSecurityTrimmedControl.PermissionMode property
Gets or sets the PermissionMode.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property PermissionMode As PermissionMode
Get
Set
'Usage
Dim instance As SPSecurityTrimmedControl
Dim value As PermissionMode
value = instance.PermissionMode
instance.PermissionMode = value
public PermissionMode PermissionMode { get; set; }
Property value
Type: Microsoft.SharePoint.Utilities.PermissionMode
Remarks
Allows you to define whether All permissions or Any permission is required to render contents. Possible values are:
PermissionMode.All
PermissionMode.Any
See also
Reference
SPSecurityTrimmedControl class