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.
For OAuthUserCredential the username is determined during OAuth authorization.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 - 200.6 |
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
.NET Framework | 200.5 - 200.6 |
UWP | 200.5 - 200.6 |