| 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
)
Function HasPolicy (
securable As Object,
policyOid As String
) As Boolean
bool HasPolicy(
Object^ securable,
String^ policyOid
)
abstract HasPolicy :
securable : Object *
policyOid : string -> bool
Parameters
- securable
- Type: SystemObject
The securable to check - policyOid
- Type: SystemString
The policy OID to check
Return Value
Type:
BooleanTrue if
securable has
policyOidSee Also