Condividi tramite


SPUser.ToString Method

Returns the user name of the user.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As SPUser
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()

Return Value

Type: System.String
A string that contains the user name.

See Also

Reference

SPUser Class

SPUser Members

Microsoft.SharePoint Namespace