Share via

DefaultAzureCredentialOptions.SharedTokenCacheUsername Property


Specifies the preferred authentication account to be retrieved from the shared token cache for single sign on authentication with development tools. In the case multiple accounts are found in the shared token.

public string SharedTokenCacheUsername { get; set; }
member this.SharedTokenCacheUsername : string with get, set
Public Property SharedTokenCacheUsername As String

Property Value


If multiple accounts are found in the shared token cache and no value is specified, or the specified value matches no accounts in the cache the SharedTokenCacheCredential will not be used for authentication.

Applies to