Click or drag to resize

IPolicyInformationServiceHasPolicy Method

Returns true if securable has policyOid assigned to it

Namespace:  SanteDB.Core.Security.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
bool HasPolicy(
	Object securable,
	string policyOid
)

Parameters

securable
Type: SystemObject
The securable to check
policyOid
Type: SystemString
The policy OID to check

Return Value

Type: Boolean
True if securable has policyOid
See Also