nm_iam_state_user_set_notification_categories()
DESCRIPTION
Set notification categories in a user. Categories set on a user must exist in the IAM module, since this function only builds the state structure, setting an invalid category will not fail untill the state is loaded into the IAM module. The contents of the string set is copied into the string set of the user leaving ownership of the provided string set to the caller.
DECLARATION
bool nm_iam_state_user_set_notification_categories(struct nm_iam_user* user, struct nn_string_set* categories)
PARAMETERS
user:
- [in] User to set notification categories in
categories:
- [in] Set of categories to copy into the user
RETURNS
true iff operation completed successfully