• JMap.User.getOrganizationId

    Returns user's organization id.

    If server is not a JMap Cloud server, or if the user in not logged in, will return an empty Id

    Organizations are only defined when connected to a JMap Cloud server instance.

    Returns string

    Example

    // returns user's organization id
    JMap.User.getOrganizationId()