SPRoleCollection members
Include protected members
Include inherited members
NOTE: This API is now obsolete.
請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, SPRoleCollection表示SPRole物件的集合和維護回溯相容性。)
The SPRoleCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Count屬性集合中傳回的角色數目和維護回溯相容性。)。 (Overrides SPBaseCollection.Count.) | |
Item[Int32] | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Item屬性集合中傳回指定索引處的角色物件和維護回溯相容性。) | |
Item[String] | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Item屬性從集合傳回具有指定名稱的角色物件和維護回溯相容性。) | |
Web | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Web屬性傳回父網站集合的角色和維護回溯相容性。) | |
Xml | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Xml屬性以 XML 格式傳回集合的角色和維護回溯相容性。) |
Top
Methods
Name | Description | |
---|---|---|
Add | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Add方法建立角色物件與集合中指定的名稱、 描述及權限遮罩,維護回溯相容性。) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetByID | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, GetByID方法傳回指定的成員 ID 與角色和維護回溯相容性。) | |
GetCollection | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, GetCollection方法傳回集合中的名稱陣列所指定的角色和維護回溯相容性。) | |
GetEnumerator | 取得列舉值來逐一查看集合。 (Inherited from SPBaseCollection.) | |
GetHashCode | (Inherited from Object.) | |
GetSpecialRole | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, GetCollection方法傳回其型別所指定的系統角色和維護回溯相容性。) | |
GetType | (Inherited from Object.) | |
GetTypedEnumerator<T> | 傳回逐一查看集合的型別安全列舉值。 (Inherited from SPBaseCollection.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove(Int32) | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Remove方法在集合中移除指定索引處的角色和維護回溯相容性。) | |
Remove(String) | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, Remove方法從集合中移除具有指定名稱的角色和維護回溯相容性。) | |
RemoveByID | Obsolete. 已過時。請改用新的SPRoleDefinition和SPRoleAssignment類別,來定義角色,並將使用者指派給它們。如需詳細資訊,請參閱Changes in the Authorization Object Model。(在Windows SharePoint Services 2.0, RemoveByID方法從集合中移除具有指定的成員 ID 角色和維護回溯相容性。) | |
ToString | (Inherited from Object.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | 陣列,指定的陣列索引處開始複製集合的項目。 (Inherited from SPBaseCollection.) | |
ICollection.IsSynchronized | 取得布林值,這個值,指出對集合的存取是否同步處理或安全執行緒。 (Inherited from SPBaseCollection.) | |
ICollection.SyncRoot | 取得用於同步化存取集合的物件。 (Inherited from SPBaseCollection.) |
Top