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 9th March 2021 05:05 Europe/London time based on the source file dated 8th March 2021 16:20 Europe/London time.