OBJECT

User

link GraphQL Schema definition

  • type User implements Node {
  • id: ID!
  • # Whether this is an anonymous user
  • isAnonymous: Boolean!
  • # Session token for anonymous users
  • sessionToken: String
  • # The first name of the user
  • firstName: String
  • # The last name of the user
  • lastName: String
  • # (Deprecated, use status instead) Whether the user is disabled
  • disabled: Boolean!
  • # The status of the user
  • status: UserStatus!
  • # The verification status of the user
  • verificationStatus: UserVerificationStatus!
  • # The number of verification attempts the user has made
  • verificationAttempts: Int!
  • # The last time the user attempted verification
  • verificationLastAttemptedAt: Time
  • # The phone number of the user, stored in E.164 format
  • phone: String
  • # The email address of the user
  • email: String
  • # The username of the user
  • username: String
  • # The credential of the user, ie MD, DO, PA, NP, etc. Note: Credentials are
  • # normalized to uppercase and any periods are removed.
  • credential: String
  • # The NPI number of the user
  • npiNumber: String
  • # The NPI taxonomy code of the user
  • npiTaxonomyCode: String
  • # The NPI taxonomy description of the user
  • npiTaxonomyDescription: String
  • # The bio of the user
  • bio: String
  • # Whether the user is a student
  • isStudent: Boolean!
  • # Whether the user has submitted a disclosure
  • hasSubmittedDisclosure: Boolean!
  • # Whether the user has disclosures needing review
  • hasDisclosuresNeedingReview: Boolean!
  • # Whether reflections are disabled on posts authored by this user
  • reflectionsOnAuthoredPostsDisabled: Boolean!
  • type: UserType!
  • # The role of the user
  • role: UserRole!
  • # The limited roles of the user. Null or Empty array means no limited roles.
  • limitedRoles: [String!]
  • createdAt: Time!
  • updatedAt: Time!
  • # The last time the user logged in
  • lastLoginAt: Time
  • # The CME goal value of the user
  • cmeGoalValue: String
  • # The CME goal date of the user
  • cmeGoalDate: Time
  • # The total CME earned by the user
  • totalCmeEarned: Float
  • # Whether the user has should appear in the suggested users list
  • suggested: Boolean!
  • # The financial disclosures for the user
  • financialDisclosures: String
  • # Whether the user is an oog staff user
  • isStaff: Boolean!
  • # The total number of followers the user has
  • totalFollowers: Int!
  • # The total number of users the user is following
  • totalFollowing: Int!
  • # The trending boost of the user.
  • trendingBoost: Float!
  • # Whether the user is synthetic ie. not a human user
  • synthetic: Boolean!
  • # Whether the user posts AI generated content
  • isAi: Boolean!
  • # Whether the user is a business account
  • isBusinessAccount: Boolean!
  • # The date of birth of the user
  • dob: Time
  • # The start date of the professional experience of the user
  • professionalExperienceStartDate: Time
  • # The city the user is located in
  • city: String
  • # The state or province the user is located in, as a 2 digit ISO code
  • state: String
  • # The country the user is located in, as a 2 digit ISO code
  • country: String
  • # Whether the user opts in to marketing
  • optsInToMarketing: Boolean!
  • primaryLicenseNumber: String
  • # The time the user submitted a request to delete their account
  • submittedAccountDeletionAt: Time
  • # This field is only valid to check via the currentUser query, otherwise it always
  • # returns false.
  • systemManagedGoals: Boolean!
  • # Cached badges for this post
  • cachedBadges: [String!]
  • # Whether the user opts in to SMS marketing
  • optsInToMarketingSms: Boolean
  • # Whether the user opts in to SMS non-marketing notifications
  • optsInToNonMarketingSms: Boolean
  • # Whether the user's email has been verified via EmailVerificationToken
  • isEmailVerified: Boolean!
  • # The tenants the user belongs to
  • tenants: [Tenant!]
  • # The topics the user follows
  • topics: [Topic!]
  • # The posts the user has been mentioned in
  • mentionedPosts: [Post!]
  • # The users that follow this user
  • followers: [User!]
  • following: [User!]
  • # The posts the user has made
  • posts: [Post!]
  • # The links the user has added
  • links: [UserLink!]
  • # The providers offices
  • offices: [Office!]
  • # The comments the user has made
  • comments: [Comment!]
  • # The posts the user has liked
  • likedPosts: [Post!]
  • # The comments the user has liked
  • likedComments: [Comment!]
  • # The posts the user has bookmarked
  • bookmarkedPosts: [Post!]
  • # (DEPRECATED) The avatar of the user
  • avatar: MediaItem
  • # The profile image for the user. Images are hosted using Cloudflare images.
  • # Please see
  • # https://developers.cloudflare.com/images/cloudflare-images/serve-images/ for
  • # details on how to serve images.
  • profileImage: Image
  • # The NPI taxonomy of the user
  • specialty: NpiTaxonomy
  • # The work history of the user
  • workHistory: [WorkExperience!]
  • # The education history of the user
  • educationHistory: [EducationHistory!]
  • # The license history of the user
  • licenseHistory: [LicenseHistory!]
  • # The education credits of the user
  • educationCredits: [EducationCredit!]
  • # The notification tokens for the user
  • notificationTokens: [UserNotificationToken!]
  • # The notifications for the user: Likes, Comments, etc.
  • notifications: [Notification!]
  • # The notifications the user has generated for other users
  • outgoingNotifications: [Notification!]
  • # The searches the user has made
  • searches: [Search!]
  • # The API tokens the user has generated
  • apiTokens: [ApiToken!]
  • # The user collection completions
  • userCompletions: [UserCollectionCompletion!]
  • # The financial disclosures for the user
  • financialDisclosureStatement: FinancialDisclosureStatement
  • # The courses the user has created
  • coursesCreated: [Course!]
  • # The courses the user has reviewed
  • coursesReviewed: [Course!]
  • # The courses the user is faculty for
  • coursesFaculty: [Course!]
  • # The user reports this user has created
  • userReports: [UserReport!]
  • # The user reports this user has been reported by
  • reportedBy: [UserReport!]
  • # The post reports this user has created
  • postReports: [PostReport!]
  • # The users this user has muted
  • mutedUsers: [UserMute!]
  • # The users this user has blocked
  • blockedUsers: [UserBlock!]
  • # 3rd party account connections
  • accountConnections: [AccountConnection!]
  • # The imported videos for the user
  • importedVideos: [ImportedVideo!]
  • # If set, this user is synthetic and has a feed
  • feed: ArticleFeed
  • feedHistories: [UserFeedHistory!]
  • boardCertifications: [BoardCertification!]
  • cohorts: [UserCohort!]
  • # The provider type of the user
  • providerType: ProviderType
  • feedImpressions: [UserFeedImpression!]
  • # The users linked to this user profile, if this is a business account
  • parent: User
  • linkedUsers: [User!]
  • userTenants: [UserTenant!]
  • likes: [Like!]
  • commentLikes: [CommentLike!]
  • bookmarks: [Bookmark!]
  • # The Stream (getstream.io) chat token for the current user
  • streamToken: String!
  • currentTenant: Tenant
  • npiTaxonomy: NpiTaxonomy
  • shareURL: String
  • medicalSearchSignedURL: String
  • dynamicMessaging: DynamicMessage!
  • notificationSubscriptionPreferences: [UserNotificationSubscriptionPreferences!]!
  • credentials: [Credential!]!
  • }