Skip to main content

User

A user in WordPress VIP.

type User implements Model {
applicationRoles(
appId: Int
organizationId: Int
): UserApplicationRoleList
auth0Id: String
authMethod: 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
roleId: String
): UserOrganizationRoleList
samlIdentityProviderName: String
samlNameId: String
samlOrganizationId: Int
tokens: [Token]
trackingUserId: String
vipAuthId: String
wpcomUsername: String
}

Fields

User.applicationRoles ● UserApplicationRoleList object common

The application roles assigned to the user.

User.applicationRoles.appId ● Int scalar common

The application ID to filter by.

User.applicationRoles.organizationId ● Int scalar common

The organization ID used to scope application roles.

User.auth0Id ● String scalar common

The Auth0 identifier for the user.

User.authMethod ● String scalar common

The authentication method used for the current session.

User.displayName ● String scalar common

The display name for the user.

User.emailAddress ● String scalar common

The primary email address for the user.

User.emailVerification ● EmailVerificationTokenData object common

The latest email verification token data for the user.

User.githubUsername ● String scalar common

The user's GitHub username.

User.id ● Int scalar common

The unique identifier for the user.

User.isConsideredInactive ● Boolean scalar common

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

User.isEmailLegacyUnverified ● Boolean scalar common

Whether the user still has a legacy unverified email state.

User.isEmailVerified ● Boolean scalar common

Whether the user's primary email address is verified.

User.isVIP ● Boolean scalar common

Whether the user currently has VIP access.

User.isVipAuthUser ● Boolean scalar common

Whether the user signs in through VIP Auth.

User.lastSeenAt ● Date scalar common

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

User.mfaMethods ● MfaMethods object common

The configured MFA methods for the user.

User.organizationRoles ● UserOrganizationRoleList object common

The organization roles assigned to the user.

User.organizationRoles.organizationId ● Int scalar common

The organization ID to filter by.

User.organizationRoles.roleId ● String scalar common

The organization role ID to filter by.

User.samlIdentityProviderName ● String scalar common

The name of the SAML identity provider used for login.

User.samlNameId ● String scalar common

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

User.samlOrganizationId ● Int scalar common

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

User.tokens ● [Token] list object common

The active tokens for the user.

User.trackingUserId ● String scalar common

The internal tracking identifier used for analytics and debug tooling.

User.vipAuthId ● String scalar common

The VIP Auth identifier for the user.

User.wpcomUsername ● String scalar common

The user's WordPress.com username.

Interfaces

Model interface common

A model with an integer identifier.

Returned By

user query

Member Of

CreateUserPayload object ● Deployment object ● Invitation object ● RemoveUserFromOrganizationPayload object ● UpdateUserOrganizationRolePayload object ● UpdateUserPayload object ● UserList object