| IdentityHasEntitlements Method (Element, Service) |
Returns true if this Identity is authorized for the specified Service and for
the specified entitlements.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.25.5.1
Syntaxbool HasEntitlements(
Element entitlements,
Service service
)
Function HasEntitlements (
entitlements As Element,
service As Service
) As Boolean
bool HasEntitlements(
Element^ entitlements,
Service^ service
)
abstract HasEntitlements :
entitlements : Element *
service : Service -> bool
Parameters
- entitlements
- Type: Bloomberglp.BlpapiElement
- service
- Type: Bloomberglp.BlpapiService
Return Value
Type:
Booleantrue if identity is authorized for each of the specified entitlements and
authorized for the specified service, but
false if otherwise.
Exceptions| Exception | Condition |
|---|
| ArgumentException |
The specified 'entitlements' or 'service' is null or invalid.
|
Remarks
See Also