int $community

string $source

int $time_created

int $suspended

int $superadmin

array $array

string $firstname

string $lastname

Methods

Get user data from the session. Optionally redirects to login page if not
signed in, by setting first parameter to true. Automatically select a
community to sign in to by specifying a community ID using the second
parameter.