Share via


SPUser.ToString method

Returns the user name of the user.

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

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