Mobile Locker JavaScript SDK
    Preparing search index...

    Interface User

    The authenticated Mobile Locker user. Mirrors the iOS GRDBUser Swift model's toJSON() output.

    interface User {
        ask_for_review: boolean;
        calendar_url: string | null;
        can_use_haystack: boolean;
        country: string;
        current_team_id: number;
        current_team_role: string;
        default_greeting_type: string;
        district: string;
        email: string;
        first_name: string;
        id: number;
        is_current_user: boolean;
        is_debug_mode: boolean;
        is_employee: boolean;
        is_super_admin: boolean;
        last_name: string;
        locale: string;
        max_records_from_crm: number;
        name: string;
        phone: string | null;
        region: string;
        salesforce_profile_id: string | null;
        salesforce_profile_name: string | null;
        scanner_enabled: boolean;
        sender_email: string | null;
        territory: string;
        timezone: string;
        title: string;
    }
    Index

    Properties

    ask_for_review: boolean
    calendar_url: string | null
    can_use_haystack: boolean
    country: string
    current_team_id: number
    current_team_role: string
    default_greeting_type: string
    district: string
    email: string
    first_name: string
    id: number
    is_current_user: boolean

    Whether this is the currently authenticated user (vs. a team member record).

    is_debug_mode: boolean
    is_employee: boolean
    is_super_admin: boolean
    last_name: string
    locale: string
    max_records_from_crm: number
    name: string
    phone: string | null
    region: string
    salesforce_profile_id: string | null
    salesforce_profile_name: string | null
    scanner_enabled: boolean
    sender_email: string | null
    territory: string
    timezone: string
    title: string