SessionOptions.AccountName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.