Property Username
Username
Gets the user associated with the credential.
Declaration
public string Username { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The user associated with the credential, or |
Remarks
For OAuthApplicationCredential and PregeneratedTokenCredential the username is always null.
For AccessTokenCredential the username is specified when the credential is created, but may be blank for network-secured portals.
For OAuthUserCredential the username is determined during OAuth authorization.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.5 - 200.8 |
| .NET | 200.5 - 200.8 |
| .NET Windows | 200.5 - 200.8 |
| .NET Android | 200.5 - 200.8 |
| .NET iOS | 200.5 - 200.8 |
| .NET Framework | 200.5 - 200.8 |
| UWP | 200.5 - 200.8 |