共用方式為


SPGroup members

Include protected members
Include inherited members

表示在SharePoint Foundation的網站群組。

The SPGroup type exposes the following members.

Properties

  Name Description
Public property AllowMembersEditMembership 取得或設定布林值,指定群組成員是否可以修改群組的成員資格。
Public property AllowRequestToJoinLeave 取得或設定布林值,指定是否允許使用者要求群組的成員資格,並且允許使用者要求要離開群組。
Public property AutoAcceptRequestToJoinLeave 取得或設定布林值,指定使用者是否會自動加入或移除它們提出要求時。
Public property CanCurrentUserEditMembership 取得布林值,這個值,指出目前的使用者是否可以修改群組成員資格。
Public property CanCurrentUserManageGroup 取得布林值,這個值,指出目前的使用者是否可以管理群組。
Public property CanCurrentUserViewMembership 取得布林值,這個值,指出目前的使用者是否可以檢視群組的成員清單。
Public property ContainsCurrentUser 取得布林值,這個值,指出群組是否包含目前的使用者,可能包含,透過直接或間接成員資格。
Public property Description 取得或設定群組的描述。
Public property DistributionGroupAlias 取得與群組相關聯的通訊群組別名。
Public property DistributionGroupEmail 取得通訊群組的電子郵件地址。
Public property DistributionGroupErrorMessage 取得非同步通訊群組作業所傳回的最新錯誤訊息。
Public property DistributionGroupPendingJobData 取得型別和識別項 (ID) 的目前暫止的非同步目錄管理服務要求。
Public property ExplicitlyContainsCurrentUser 取得布林值,這個值,指出目前的使用者是否已明確地SharePoint Foundation群組,而不是間接透過目錄群組的成員資格的直接成員身分加入。
Public property ID 取得群組識別碼 (ID)。 (Overrides SPPrincipal.ID.)
Public property IsHiddenInUI 取得值,這個值,指出是否應該在 UI 中隱藏這個成員。 (Inherited from SPPrincipal.)
Public property LoginName 取得群組的登入名稱。 (Overrides SPPrincipal.LoginName.)
Public property Name 取得或設定群組的名稱。 (Overrides SPPrincipal.Name.)
Public property OnlyAllowMembersViewMembership 取得或設定布林值,指定是否允許只有群組成員檢視中群組成員的清單。
Public property Owner 取得或設定群組,可以是使用者或另一個群組的擁有者。
Public property ParentWeb 取得主體中的父網站之內。 (Inherited from SPPrincipal.)
Public property RequestToJoinLeaveEmailSetting 取得或設定成員資格要求所傳送的電子郵件地址。
Public property Roles Obsolete. 取得與主體關聯的角色集合。 (Inherited from SPPrincipal.)
Public property Users 取得使用者物件的集合,代表群組中的所有使用者。
Public property Xml 取得群組的內容當做 XML 字串。

Top

Methods

  Name Description
Public method AddUser(SPUser) 將指定的使用者加入群組。
Public method AddUser(String, String, String, String) 加入指定的特定使用者名稱、 電子郵件地址、 顯示名稱和備忘稿到群組的使用者。
Public method ClearDistributionGroupErrorMessage 清除通訊群組的錯誤訊息。
Public method CreateDistributionGroup 建立群組的通訊群組清單。
Public method DeleteDistributionGroup 刪除與該群組相關聯的通訊群組清單。
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetDistributionGroupArchives 傳回做為封存的郵件會傳送至通訊群組清單,此群組的清單。
Protected method GetField 保留給內部使用。 (Inherited from SPPrincipal.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method InitMember 初始化成員。 (Overrides SPPrincipal.InitMember().)
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveUser 從群組中移除指定的使用者。
Public method RenameDistributionGroup 重新命名與該群組相關聯的通訊群組清單。
Public method ResynchronizeDistributionGroup 更新成員] 清單中,以符合目前的值群組的群組與相關聯的通訊群組清單的內容。
Public method SetDistributionGroupArchives 設定做為通訊群組的群組保存檔的清單。
Protected method SetField 設定使用者或群組的欄位。 (Inherited from SPPrincipal.)
Public method ToString 傳回群組的名稱。 (Overrides Object.ToString().)
Public method Update 以對群組的內容所做的變更來更新資料庫。
Public method UpdateDistributionGroupStatus 查詢目錄管理服務狀態的暫止的作業,如果任何群組的通訊群組清單,而且剛剛完成一項作業,重新同步處理資料如有必要。

Top

Fields

  Name Description
Protected field m_arrMembersData 將成員資料儲存為二維陣列。 (Inherited from SPPrincipal.)
Protected field m_bDataInitialized 包含布林值,指出資料是否已初始化。 (Inherited from SPPrincipal.)
Protected field m_index 包含到m_arrMembersData的陣列的索引,目前的成員。 (Inherited from SPPrincipal.)
Protected field m_web 儲存 Web 站台物件。 (Inherited from SPPrincipal.)

Top

請參閱

參照

SPGroup class

Microsoft.SharePoint namespace