UserInfo Class

Beta  

Information on the authenticated user.

Methods

Name Description
constructor(id: string, email?: { id: string, isVerified?: boolean }, profile?: { firstName: string, lastName: string, name?: string, preferredUserName?: string }, organization?: { id: string, name: string }, featureTracking?: { ultimateSite: string, usageCountryIso: string }): UserInfo    
fromJson(jsonObj: UserInfoProps): UserInfo Static Creates a strongly typed UserInfo object from untyped JSON with the same properties as UserInfo Beta  

Properties

Name Type Description
email undefined | { id: string, isVerified?: boolean }    
featureTracking undefined | { ultimateSite: string, usageCountryIso: string }    
id string    
organization undefined | { id: string, name: string }    
profile undefined | { firstName: string, lastName: string, name?: string, preferredUserName?: string }    

Defined in

Last Updated: 12 June, 2024