« Back to Product

Documentation

IPS_GetUserList

 array IPS_GetUserList ()

Returns

An array with the names of all users, including the @admin user

Description

The function returns the names of all existing users. The @admin user is always included. The order of the entries is not guaranteed.

The function requires neither the RBAC feature in the license nor administrator permissions. Detailed information about a user is returned by IPS_GetUser.

Example

print_r(IPS_GetUserList());

/* e.g. returns:
Array
(
    [0] => @admin
    [1] => anna
)
*/
Any questions?