共用方式為


SPPermission members

Include protected members
Include inherited members

NOTE: This API is now obsolete.

請改用新的SPRoleDefinitionSPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, SPRole表示指派給使用者或群組清單或網站的權限和維護回溯相容性。)

The SPPermission type exposes the following members.

Properties

  Name Description
Public property BasePermissions Obsolete. 取得基底的使用權限的權限。
Public property Member Obsolete. 取得使用者或具有權限的群組的成員物件。
Public property Parent Obsolete. 對於指定的使用權限物件,可以是清單或網站取得父物件。
Public property PermissionMask Obsolete. 取得或設定使用者或群組的權限遮罩的權限。
Public property Xml Obsolete. 以 XML 格式,取得使用權限物件。

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Obsolete. 傳回的使用者或群組的使用權限物件的成員 ID。 (Overrides Object.ToString().)

Top

請參閱

參照

SPPermission class

Microsoft.SharePoint namespace