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

Property value

Type: Microsoft.SharePoint.SPPermissionCollection
An SPPermissionCollection object that represents the permissions.