Skip to contents

Get the user's unique identifier. This is useful in packages when the user_id is required or useful for a particular call.

Usage

user_id()

Value

integer

See also

project_id(), is_auth(), auth_me() for full user details

Examples

if (FALSE) { # \dontrun{
user_id()
} # }