共用方式為


SPRoleAssignment.Member property

取得角色指派的使用者或群組。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Property Member As SPPrincipal
    Get
'用途
Dim instance As SPRoleAssignment
Dim value As SPPrincipal

value = instance.Member
public SPPrincipal Member { get; }

Property value

Type: Microsoft.SharePoint.SPPrincipal
SPPrincipal 物件,表示使用者或群組。

請參閱

參照

SPRoleAssignment class

SPRoleAssignment members

Microsoft.SharePoint namespace