Policy Information Provider (PIP)
IPolicyInformationService
in assembly SanteDB.Core.Api version 2.1.151.0
Summary
Represents a contract for a policy information service
Operations
Operation | Response/Return | Input/Parameter | Description |
---|---|---|---|
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 |
RemovePolicies | void | Object securable IPrincipal principal String[] oid | Removes the specified policies from the user account |
Implementations
ADO.NET Policy Information Service - (SanteDB.Persistence.Data.ADO)
Represents a PIP fed from SQL Server tables
Service Registration
Example Implementation
References
Last updated