共用方式為


SPList.DoesUserHavePermissions Method

Include Protected Members
Include Inherited Members

Checks permissions on the list.

Overload List

  Name Description
Public method DoesUserHavePermissions(SPBasePermissions) Indicates whether the current user has a specified set of permissions. (Inherited from SPSecurableObject.)
Public method DoesUserHavePermissions(SPBasePermissions, Boolean) Indicates whether the current user has a specified set of permissions on the list and optionally checks permissions on the current folder.
Public method DoesUserHavePermissions(SPUser, SPBasePermissions) Indicates whether the specified user has the specified set of permissions on the list.

Top

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace