Policy Information Provider (PIP)
IPolicyInformationService
in assembly SanteDB.Core.Api version 3.0.1980.0
Summary
Represents a contract for a policy information service
Operations
GetPolicies
IEnumerable<IPolicyInstance>
Object securable
Get all active policies for the specified securable type
GetPolicies
IEnumerable<IPolicy>
none
Get all active policies for the specified securable type
GetPolicy
IPolicy
String policyOid
Get a specific policy
AddPolicies
void
Object securable PolicyGrantType rule IPrincipal principal String[] policyOids
Adds the specified policies to the specified securable object
GetPolicyInstance
IPolicyInstance
Object securable String policyOid
Gets the policy instance for the specified object
HasPolicy
Boolean
Object securable String policyOid
Returns true if has assigned to it
RemovePolicies
void
Object securable IPrincipal principal String[] oid
Removes the specified policies from the user account
CreatePolicy
void
IPolicy policy IPrincipal principal
Create in the policy information point
Implementations
BridgedPolicyInformationService - (SanteDB.Client)
Policy information service that uses either local or upstream policy provider.
Service Registration
UpstreamPolicyInformationService - (SanteDB.Client)
Represents a policy information service which communicates with an upstream policy information service
Service Registration
AdoPolicyInformationService - (SanteDB.Persistence.Data)
A PIP service which stores data in the database
Service Registration
Example Implementation
References
Last updated