共用方式為


SPPrincipal.LoginName property

實作這個抽象屬性,以取得字串,包含使用者的登入名稱。

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

Syntax

'宣告
Public MustOverride ReadOnly Property LoginName As String
    Get
'用途
Dim instance As SPPrincipal
Dim value As String

value = instance.LoginName
public abstract string LoginName { get; }

Property value

Type: System.String
字串,識別使用者的登入名稱。

請參閱

參照

SPPrincipal class

SPPrincipal members

Microsoft.SharePoint namespace