/// Example Implementation
using SanteDB.Core.Security.Services;
/// Other usings here
public class MyPolicyInformationService : SanteDB.Core.Security.Services.IPolicyInformationService {
public String ServiceName => "My own IPolicyInformationService service";
/// <summary>
/// Get all active policies for the specified securable type
/// </summary>
public IEnumerable<IPolicyInstance> GetPolicies(Object securable){
throw new System.NotImplementedException();
}
/// <summary>
/// Get all active policies for the specified securable type
/// </summary>
public IEnumerable<IPolicy> GetPolicies(){
throw new System.NotImplementedException();
}
/// <summary>
/// Get a specific policy
/// </summary>
public IPolicy GetPolicy(String policyOid){
throw new System.NotImplementedException();
}
/// <summary>
/// Adds the specified policies to the specified securable object
/// </summary>
public void AddPolicies(Object securable,PolicyGrantType rule,IPrincipal principal,String[] policyOids){
throw new System.NotImplementedException();
}
/// <summary>
/// Gets the policy instance for the specified object
/// </summary>
public IPolicyInstance GetPolicyInstance(Object securable,String policyOid){
throw new System.NotImplementedException();
}
/// <summary>
/// Returns true if has assigned to it
/// </summary>
public Boolean HasPolicy(Object securable,String policyOid){
throw new System.NotImplementedException();
}
/// <summary>
/// Removes the specified policies from the user account
/// </summary>
public void RemovePolicies(Object securable,IPrincipal principal,String[] oid){
throw new System.NotImplementedException();
}
/// <summary>
/// Create in the policy information point
/// </summary>
public void CreatePolicy(IPolicy policy,IPrincipal principal){
throw new System.NotImplementedException();
}
}