Skip to main content

Me

The currently authenticated user.

type Me {
applicationRoles(
appId: Int
organizationId: Int
): UserApplicationRoleList
auth0Id: String
authMethod: String
currentIP: String
displayName: String
emailAddress: String
emailVerification: EmailVerificationTokenData
githubUsername: String
id: Int
isConsideredInactive: Boolean
isEmailLegacyUnverified: Boolean
isEmailVerified: Boolean
isVIP: Boolean
isVipAuthUser: Boolean
lastSeenAt: Date
mfaMethods: MfaMethods
organizationRoles(
organizationId: Int
): UserOrganizationRoleList
samlIdentityProviderName: String
samlNameId: String
samlOrganizationId: Int
shouldBeVIP: Boolean
tokens: [Token]
trackingUserId: String
vipAuthId: String
wpcomUsername: String
}

Fields

Me.applicationRoles ● UserApplicationRoleList object common

The application roles assigned to the current user.

Me.applicationRoles.appId ● Int scalar common

The application ID to filter by.

Me.applicationRoles.organizationId ● Int scalar common

The organization ID used to scope application roles.

Me.auth0Id ● String scalar common

The Auth0 identifier for the current user.

Me.authMethod ● String scalar common

The authentication method used for the current session.

Me.currentIP ● String scalar common

The IP address of the current request.

Me.displayName ● String scalar common

The display name for the current user.

Me.emailAddress ● String scalar common

The primary email address for the current user.

Me.emailVerification ● EmailVerificationTokenData object common

The latest email verification token data for the current user.

Me.githubUsername ● String scalar common

The current user's GitHub username.

Me.id ● Int scalar common

The unique identifier for the current user.

Me.isConsideredInactive ● Boolean scalar common

Whether the current user is considered inactive in the current organization context.

Me.isEmailLegacyUnverified ● Boolean scalar common

Whether the current user still has a legacy unverified email state.

Me.isEmailVerified ● Boolean scalar common

Whether the current user's primary email address is verified.

Me.isVIP ● Boolean scalar common

Whether the current user currently has VIP access.

Me.isVipAuthUser ● Boolean scalar common

Whether the current user signs in through VIP Auth.

Me.lastSeenAt ● Date scalar common

When the current user was last seen in the current organization context.

Me.mfaMethods ● MfaMethods object common

The configured MFA methods for the current user.

Me.organizationRoles ● UserOrganizationRoleList object common

The organization roles assigned to the current user.

Me.organizationRoles.organizationId ● Int scalar common

The organization ID to filter by.

Me.samlIdentityProviderName ● String scalar common

The name of the SAML identity provider used for login.

Me.samlNameId ● String scalar common

The SAML NameID from the current user's SSO identity.

Me.samlOrganizationId ● Int scalar common

The organization ID associated with the SAML identity provider used for login.

Me.shouldBeVIP ● Boolean scalar common

Whether the current user would be VIP before proxy-based checks are applied.

Me.tokens ● [Token] list object common

The active tokens for the current user.

Me.trackingUserId ● String scalar common

The internal tracking identifier used for analytics and debug tooling.

Me.vipAuthId ● String scalar common

The VIP Auth identifier for the current user.

Me.wpcomUsername ● String scalar common

The current user's WordPress.com username.

Returned By

me query