nm_iam_set_notification_categories()

DESCRIPTION

Set the list of notification categories users can subscribe to. Trying to set a notification category that is not included in this set will result in an error. The categories are copied into IAM.

DECLARATION

enum nm_iam_error nm_iam_set_notification_categories(struct nm_iam* iam, struct nn_string_set* categories)

PARAMETERS

iam:
[in] IAM module to set categories in
categories:
[in] Set of notification categories to set

RETURNS

NM_IAM_ERROR_OK if the categories was set.