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)


<ObsoleteAttribute("Use the RoleAssignments property instead")> _
Public ReadOnly Property Permissions As SPPermissionCollection
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.

See also


SPWeb class

SPWeb members

Microsoft.SharePoint namespace