次の方法で共有


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)

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