共用方式為


SPSecurityEventProperties.UserLoginName property

取得目前使用者的登入名稱。

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

Syntax

'宣告
Public ReadOnly Property UserLoginName As String
    Get
'用途
Dim instance As SPSecurityEventProperties
Dim value As String

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

Property value

Type: System.String
目前的使用者登入名稱。

請參閱

參照

SPSecurityEventProperties class

SPSecurityEventProperties members

Microsoft.SharePoint namespace