次の方法で共有


ISecurableObject.CheckPermissions method

NOTE: This API is now obsolete.

Checks the permissions for a given set of rights.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use the SPSecurableObject class instead")> _
Sub CheckPermissions ( _
    permissionMask As SPBasePermissions _
)
'Usage
Dim instance As ISecurableObject
Dim permissionMask As SPBasePermissions

instance.CheckPermissions(permissionMask)
[ObsoleteAttribute("Use the SPSecurableObject class instead")]
void CheckPermissions(
    SPBasePermissions permissionMask
)

Parameters

Remarks

The CheckPermissions method returns an "access denied" error if it fails.

See also

Reference

ISecurableObject interface

ISecurableObject members

Microsoft.SharePoint namespace