Skip to main content

me

Retrieve the currently authenticated user.

me: Me

Example

query ($appId: Int, $organizationId: Int, $organizationId2: Int) {
me {
applicationRoles(appId: $appId, organizationId: $organizationId) {
nextCursor
total
}
auth0Id
authMethod
currentIP
displayName
emailAddress
emailVerification {
email
expires
status
}
githubUsername
id
isConsideredInactive
isEmailLegacyUnverified
isEmailVerified
isVIP
isVipAuthUser
lastSeenAt
mfaMethods {
configuredMethods
preferredMethod
}
organizationRoles(organizationId: $organizationId2) {
nextCursor
total
}
samlIdentityProviderName
samlNameId
samlOrganizationId
shouldBeVIP
tokens {
active
createdAt
disabledDueToInactivity
environmentIds
exp
expiresAt
id
lastUsedAt
purpose
userId
}
trackingUserId
vipAuthId
wpcomUsername
}
}

Type

Me object common

The currently authenticated user.