users_list_me

0th

Percentile

Show info about the logged-in user

Show info about the logged-in user

Usage
users_list_me()
Value

A list containing the following elements:

id

integer, The ID of this user.

name

string, This user's name.

email

string, This user's email address.

username

string, This user's username.

initials

string, This user's initials.

lastCheckedAnnouncements

string, The date and time at which the user last checked their announcements.

featureFlags

list, The feature flag settings for this user.

roles

array, The roles this user has, listed by slug.

preferences

list, This user's preferences.

customBranding

string, The branding of Platform for this user.

groups

array, An array containing the following fields:

  • id integer, The ID of this group.

  • name string, The name of this group.

  • organizationId integer, The organization associated with this group.

organizationName

string, The name of the organization the user belongs to.

organizationSlug

string, The slug of the organization the user belongs to.

organizationDefaultThemeId

integer, The ID of the organizations's default theme.

createdAt

string, The date and time when the user was created.

signInCount

integer, The number of times the user has signed in.

assumingRole

boolean, Whether the user is assuming a role or not.

assumingAdmin

boolean, Whether the user is assuming admin.

assumingAdminExpiration

string, When the user's admin role is set to expire.

Aliases
  • users_list_me
Documentation reproduced from package civis, version 2.0.0, License: BSD_3_clause + file LICENSE

Community examples

Looks like there are no examples yet.