Language

SessionOptions.AccountName Property

Definition

The Account name to use for signing the session key. Optional.

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

Property Value

Remarks

When not set, the account name is derived from the client endpoint. Set this explicitly when the endpoint is a custom URL from which the account name cannot be derived. If the account name can be determined from neither this property nor the endpoint, client construction throws when SessionMode was explicitly set to Enabled; otherwise session authentication is disabled for the client and all requests use bearer token authentication instead.

Applies to