Sends the specified authorizationRequest and update the specified
identity with the results.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public CorrelationID SendAuthorizationRequest( Request authorizationRequest, Identity identity, CorrelationID correlationId, string requestLabel )
Public Function SendAuthorizationRequest ( authorizationRequest As Request, identity As Identity, correlationId As CorrelationID, requestLabel As String ) As CorrelationID
public: CorrelationID^ SendAuthorizationRequest( Request^ authorizationRequest, Identity^ identity, CorrelationID^ correlationId, String^ requestLabel )
Parameters
- authorizationRequest (Request)
- A filled in authorization request that needs to be sent to the authorization service.
- identity (Identity)
- A handle to identify the user that is being authorized.
- correlationId (CorrelationID)
- A correlator to be used for correlating the response to this request.
- requestLabel (String)
- A label that defines a string which will be recorded along with any diagnostics for this operation.
Return Value
CorrelationID
An internally generated CorrelationID if the specified correlationId is null or return the specified correlationId.
An internally generated CorrelationID if the specified correlationId is null or return the specified correlationId.
Remarks
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
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1