共用方式為


SPSecurityEventProperties.UserDisplayName property

取得目前使用者的顯示名稱。

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

Syntax

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

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

Property value

Type: System.String
目前的使用者顯示名稱。

請參閱

參照

SPSecurityEventProperties class

SPSecurityEventProperties members

Microsoft.SharePoint namespace