AbstractSessionSendAuthorizationRequest Method (Request, Identity, CorrelationID) |
Sends the specified authorizationRequest and update the specified
identity with the results.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.20.3.1
Syntax public CorrelationID SendAuthorizationRequest(
Request authorizationRequest,
Identity identity,
CorrelationID correlationId
)
Public Function SendAuthorizationRequest (
authorizationRequest As Request,
identity As Identity,
correlationId As CorrelationID
) As CorrelationID
public:
virtual CorrelationID^ SendAuthorizationRequest(
Request^ authorizationRequest,
Identity^ identity,
CorrelationID^ correlationId
) sealed
abstract SendAuthorizationRequest :
authorizationRequest : Request *
identity : Identity *
correlationId : CorrelationID -> CorrelationID
override SendAuthorizationRequest :
authorizationRequest : Request *
identity : Identity *
correlationId : CorrelationID -> CorrelationID
Parameters
- authorizationRequest
- Type: Bloomberglp.BlpapiRequest
A filled in authorization request that needs
to be sent to the authorization service.
- identity
- Type: Bloomberglp.BlpapiIdentity
A handle to identify the user that is being authorized.
- correlationId
- Type: Bloomberglp.BlpapiCorrelationID
A correlator to be used for correlating the response to this request.
Return Value
Type:
CorrelationIDAn internally generated CorrelationID if the specified
correlationId is null or return the specified correlationId.
Implements
IAbstractSessionSendAuthorizationRequest(Request, Identity, CorrelationID)Exceptions Exception | Condition |
---|
InvalidOperationException |
The session is not started.
|
InvalidRequestException |
The request is not compliant with the schema for the request.
|
DuplicateCorrelationIDException |
The specified correlationId is already active for this Session.
|
ArgumentException |
The specified Identity was not created through this Session or it
is the session identity.
|
Remarks See Also