SPWeb.Permissions Property
NOTE: This API is now obsolete.
Gets the collection of permissions for the website.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use the RoleAssignments property instead")> _
Public ReadOnly Property Permissions As SPPermissionCollection
Get
'Usage
Dim instance As SPWeb
Dim value As SPPermissionCollection
value = instance.Permissions
[ObsoleteAttribute("Use the RoleAssignments property instead")]
public SPPermissionCollection Permissions { get; }
Property Value
Type: Microsoft.SharePoint.SPPermissionCollection
An SPPermissionCollection object that represents the permissions.