AbstractSessionGetAuthorizedIdentity Method |
Gets the authorized
Identity associated with the
specified
cid.
If cid is omitted and the session identity
is authorized, the function will return the session identity.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.5.1
Syntax public Identity GetAuthorizedIdentity(
CorrelationID cid = null
)
Public Function GetAuthorizedIdentity (
Optional cid As CorrelationID = Nothing
) As Identity
public:
virtual Identity^ GetAuthorizedIdentity(
CorrelationID^ cid = nullptr
) sealed
abstract GetAuthorizedIdentity :
?cid : CorrelationID
(* Defaults:
let _cid = defaultArg cid null
*)
-> Identity
override GetAuthorizedIdentity :
?cid : CorrelationID
(* Defaults:
let _cid = defaultArg cid null
*)
-> Identity
Parameters
- cid (Optional)
- Type: Bloomberglp.BlpapiCorrelationID
Return Value
Type:
IdentityImplements
IAbstractSessionGetAuthorizedIdentity(CorrelationID)Exceptions Exception | Condition |
---|
InvalidOperationException |
Thrown if there is no identity mapped to cid or
the mapped identity is not authorized, or cid is
omitted and the session identity is not authorized.
|
See Also