Click or drag to resize
IdentityHasEntitlements Method (Int32, Service)
Returns true if this Identity is authorized for the specified Service and for each of the entitlement IDs contained in the specified entitlements.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.25.10.1
Syntax
bool HasEntitlements(
	int[] entitlements,
	Service service
)

Parameters

entitlements
Type: SystemInt32
service
Type: Bloomberglp.BlpapiService

Return Value

Type: Boolean
true if identity is authorized for each of the specified entitlements and authorized for the specified service, but false if otherwise.
Exceptions
ExceptionCondition
ArgumentException The specified 'entitlements' or 'service' is null or invalid.
Remarks
See Also