Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_notification_users()

Description

Returns an array of users (refs and emails) for use when sending email notifications (messages that in the past went
to $email_notify, which can be emulated by using $email_notify_usergroups)

Can be passed a specific user type or an array of permissions
Types supported:-
SYSTEM_ADMIN
RESOURCE_ACCESS
RESEARCH_ADMIN
USER_ADMIN
RESOURCE_ADMIN

Parameters

ColumnTypeDefaultDescription
$userpermission string "SYSTEM_ADMIN"

Return

array

This article was last updated 26th November 2020 04:35 Europe/London time based on the source file dated 10th November 2020 12:15 Europe/London time.