Permissions property
Collapse the table of content
Expand the table of content

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 SPPermissionCollection Permissions { get; }

Property value

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