SPRoleAssignmentCollection members
Include protected members
Include inherited members
表示可保護物件的角色指派的集合。
The SPRoleAssignmentCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Count | 取得集合中的角色指派的數目。 (Overrides SPBaseCollection.Count.) |
![]() |
Groups | 取得存取控制清單 (ACL) 直接隸屬的群組。此安全的物件。 |
![]() |
Id | 取得角色指派集合 ID。 |
![]() |
Item | 取得集合指定索引處的角色指派。 |
![]() |
Parent | Obsolete. 取得控制角色指派所套用的物件的權限的父物件。 |
![]() |
ParentSecurableObject | 取得權限和集合的角色指派。 |
![]() |
Xml | 取得角色指派集合以 XML 格式。 |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add(SPPrincipal) | 建立新的角色指派指定的安全性主體,並讓物件在目前的範圍和所有父範圍中的安全性主體的來賓存取權。 |
![]() |
Add(SPRoleAssignment) | 新增角色指派至角色指派物件的集合。 |
![]() |
AddToCurrentScopeOnly | 新增角色指派在目前的範圍內的角色指派物件的集合。 |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetAssignmentByPrincipal | 取得根據指定的使用者或群組的角色指派物件。 |
![]() |
GetEnumerator | 取得列舉值來逐一查看集合。 (Inherited from SPBaseCollection.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetTypedEnumerator<T> | 傳回逐一查看集合的型別安全列舉值。 (Inherited from SPBaseCollection.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Remove(Int32) | 從集合中移除使用者或群組中指定索引處。 |
![]() |
Remove(SPPrincipal) | 從角色指派集合中移除指定的使用者或群組。 |
![]() |
RemoveById | 從角色指派集合中移除使用者或群組具有指定識別項 (ID)。 |
![]() |
RemoveFromCurrentScopeOnly | 從目前的安全性範圍中移除指定的使用者或群組。 |
![]() |
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