SharePointOnlineCredentials.UserName property

SharePoint 2013

Gets the user name associated with the credentials that is passed in the SharePointOnlineCredentials constructor.

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

public string UserName { get; }

Property value

Type: System.String
Show:
© 2015 Microsoft