Click or drag to resize
IAbstractSessionGenerateAuthorizedIdentity Method
Generates an authorized Identity with the specified authOptions and cid.

One or more AUTHORIZATION_STATUS events, zero or more TOKEN_STATUS events and zero or more SERVICE_STATUS events are generated. If this is an asynchronous AbstractSession then an Event may be processed by the registered EventHandler before GenerateAuthorizedIdentity(AuthOptions, CorrelationID) has returned.

The behavior is undefined when authOptions is null.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.8.1
Syntax
CorrelationID GenerateAuthorizedIdentity(
	AuthOptions authOptions,
	CorrelationID cid = null
)

Parameters

authOptions
Type: Bloomberglp.BlpapiAuthOptions
The AuthOptions with which the Identity will be generated.
cid (Optional)
Type: Bloomberglp.BlpapiCorrelationID
If provided will be used to identify messages associated with the generated identity.

Return Value

Type: CorrelationID
The CorrelationID object that will be used to identify messages associated with the generated identity. This will be cid if it was provided.
See Also