SPPermissionInfo.RoleAssignments property
取得使用者所屬,直接或間接的角色指派。例如,如果使用者所屬的網域群組有權限。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property RoleAssignments As Collection(Of SPRoleAssignment)
Get
'用途
Dim instance As SPPermissionInfo
Dim value As Collection(Of SPRoleAssignment)
value = instance.RoleAssignments
public Collection<SPRoleAssignment> RoleAssignments { get; }
Property value
Type: System.Collections.ObjectModel.Collection<SPRoleAssignment>
Collection<T> 的SPRoleAssignment物件,代表角色指派。