SPUser.LoginName property
取得使用者的使用者名稱。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides ReadOnly Property LoginName As String
Get
'用途
Dim instance As SPUser
Dim value As String
value = instance.LoginName
public override string LoginName { get; }
Property value
Type: System.String
字串,包含使用者名稱。