共用方式為


SPRoleAssignmentCollection.Remove method

Include protected members
Include inherited members

從物件上的所有角色移除使用者或群組。

Overload list

  Name Description
Public method Remove(Int32) 從集合中移除使用者或群組中指定索引處。
Public method Remove(SPPrincipal) 從角色指派集合中移除指定的使用者或群組。

Top

請參閱

參照

SPRoleAssignmentCollection class

SPRoleAssignmentCollection members

Microsoft.SharePoint namespace