SPPermission.BasePermissions Property

NOTE: This API is now obsolete.

Gets the base permissions for the permission.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use the SPRoleAssignment class instead")> _
Public ReadOnly Property BasePermissions As SPBasePermissions
    Get
'Usage
Dim instance As SPPermission
Dim value As SPBasePermissions

value = instance.BasePermissions
[ObsoleteAttribute("Use the SPRoleAssignment class instead")]
public SPBasePermissions BasePermissions { get; }

Property Value

Type: Microsoft.SharePoint.SPBasePermissions
An SPBasePermissions value that indicates the base permissions.

See Also

Reference

SPPermission Class

SPPermission Members

Microsoft.SharePoint Namespace