共用方式為


SPUser.SystemUserKey property

取得組態專屬使用者金鑰。

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

Syntax

'宣告
Public ReadOnly Property SystemUserKey As String
    Get
'用途
Dim instance As SPUser
Dim value As String

value = instance.SystemUserKey
public string SystemUserKey { get; }

Property value

Type: System.String
設定特定使用者索引鍵。

備註

在 Windows 驗證,它可以是使用者的 SID。否則,它是完整的編碼的使用者金鑰。

請參閱

參照

SPUser class

SPUser members

Microsoft.SharePoint namespace