Click or drag to resize

SecurityEntityHasPolicy Method

Returns true if this object has the specified policy applied

Namespace:  SanteDB.Core.Model.Security
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public bool HasPolicy(
	string policyId
)

Parameters

policyId
Type: SystemString

[Missing <param name="policyId"/> documentation for "M:SanteDB.Core.Model.Security.SecurityEntity.HasPolicy(System.String)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:SanteDB.Core.Model.Security.SecurityEntity.HasPolicy(System.String)"]

Implements

ISecurableHasPolicy(String)
See Also