AP&C API Reference
|
The contract required by all concrete user stores. More...
Public Member Functions | |
List< User > | GetUsers (PredicateSet filter) |
Gets the users that match filter . More... | |
WhyBool | CreateUser (User user) |
Validates the inputs and creates the user. This routine assumes the password has already been hashed and salted and applied to the user object. More... | |
WhyBool | DeleteUser (int id) |
Deletes the user with id . More... | |
WhyBool | UpdateUser (User user) |
Updates the user and associations to look like user . More... | |
List< NotificationGroup > | GetNotificationGroups () |
Gets all notification groups. More... | |
WhyBool | CreateNotificationGroup (string name, ref NotificationGroup group) |
Creates a notification group with name . More... | |
WhyBool | UpdateNotificationGroup (NotificationGroup ng) |
Updates the notificaton group. More... | |
WhyBool | DeleteNotificationGroup (short id) |
Deletes the notification group with id . More... | |
Properties | |
List< string > | Roles [get] |
Gets the currently configured roles, possibly from cache. More... | |
List< NotificationGroup > | NotificationGroups [get] |
Gets the currently configured notification groups, possibly from cache. More... | |
The contract required by all concrete user stores.
WhyBool Apac.Data.IAuthStore.CreateNotificationGroup | ( | string | name, |
ref NotificationGroup | group | ||
) |
Creates a notification group with name .
name | The name. |
group | The group. |
Validates the inputs and creates the user. This routine assumes the password has already been hashed and salted and applied to the user object.
user | The user. |
WhyBool Apac.Data.IAuthStore.DeleteNotificationGroup | ( | short | id | ) |
Deletes the notification group with id .
id | The identifier. |
Implemented in Apac.Data.DatabaseStore.
WhyBool Apac.Data.IAuthStore.DeleteUser | ( | int | id | ) |
Deletes the user with id .
id | The identifier. |
Implemented in Apac.Data.DatabaseStore.
List<NotificationGroup> Apac.Data.IAuthStore.GetNotificationGroups | ( | ) |
Gets all notification groups.
Implemented in Apac.Data.DatabaseStore.
List<User> Apac.Data.IAuthStore.GetUsers | ( | PredicateSet | filter | ) |
Gets the users that match filter .
filter | The filter. |
WhyBool Apac.Data.IAuthStore.UpdateNotificationGroup | ( | NotificationGroup | ng | ) |
Updates the notificaton group.
ng | The ng. |
Implemented in Apac.Data.DatabaseStore.
Updates the user and associations to look like user .
user | The user. |
|
get |
Gets the currently configured notification groups, possibly from cache.
The notification groups.
|
get |
Gets the currently configured roles, possibly from cache.
The roles.