IdentityHasEntitlements Method (Element, Service, ListInt32) |
Returns true if the user has the specified entitlements for the specified
Service.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.4.1
Syntax bool HasEntitlements(
Element entitlements,
Service service,
List<int> failedEntitlements
)
Function HasEntitlements (
entitlements As Element,
service As Service,
failedEntitlements As List(Of Integer)
) As Boolean
bool HasEntitlements(
Element^ entitlements,
Service^ service,
List<int>^ failedEntitlements
)
abstract HasEntitlements :
entitlements : Element *
service : Service *
failedEntitlements : List<int> -> bool
Parameters
- entitlements
- Type: Bloomberglp.BlpapiElement
- service
- Type: Bloomberglp.BlpapiService
- failedEntitlements
- Type: System.Collections.GenericListInt32
Return Value
Type:
Booleantrue on having entitlements for service and
false otherwise.
Exceptions Exception | Condition |
---|
ArgumentException |
The specified 'entitlements' or 'service' is null or invalid.
|
Remarks If the optional failedEntitlements is not null then the
failedEntitlements list is populated with all entitlement ids of the
specified Service that this Identity doesn't have.
See Also