# Functions
AddProperties adds a list of properties to an account
param acctID the ID of the account
param prop the property to add
param m: A A map containing configuration info for the provider
Returns nil on success or some error on failure.
ClientExists returns whether a client with a given id exists
param id the of the client to consider
param m: A map containing configuration info for the provider
Returns whether the client exists and an optional error value.
CreateAccount creates a new identity account with the given parameters
param acct: A struct containing info on the account to create
param m: A A map containing configuration info for the provider
Returns bool stating if this account is unique and an optional error value.
CreateClient creates a client with the given configuration
param client the client to create
param m: A map containing configuration info for the provider
returns the id of the client and nil on success or some error on failure.
DeleteClient deletes the specified client.
DisableAccount sets the status of a given account to inactive.
EnableAccount sets the status of a given account to active.
GetIDs returns the Id and globalID of an account, along with an error value
param term the account to consider
param m: A A map containing configuration info for the provider.
IsActive returns whether an account is active
param term the username of the account
param m: A A map containing configuration info for the provider
Returns true iff the account is active and an optional error value.
ReadAccount returns a struct representation of a given account.
ReadClient reads the state of a given client
param id the of the client to consider
param m: A map containing configuration info for the provider
returns a client struct and an optional error value.
ReadProperties reads the proprties associated with a given account.
SetRole sets the role of a given account
param id the ID of the account
param role the role to set
param m: A A map containing configuration info for the provider
Returns some error on failure or nil on success.
UpdateClient updates an existing client.