SPSite.DenyPermissionsMask property
This property will deny the rights specified by the permission mask to all users of the site collection including the site collection admin. The elevated process identity is the only exception that has full rights
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property DenyPermissionsMask As SPBasePermissions
Get
Set
'Usage
Dim instance As SPSite
Dim value As SPBasePermissions
value = instance.DenyPermissionsMask
instance.DenyPermissionsMask = value
public SPBasePermissions DenyPermissionsMask { get; set; }
Property value
Type: Microsoft.SharePoint.SPBasePermissions