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)

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.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace