Parameters

Return Value

Exceptions

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.