Function ensureLogin

  • Ensures that the current user is logged in.

    Note that if the current user is already logged in, the success function will be called immediately, passing the current user information from LABKEY.Security.currentUser.

    Parameters

    Returns XMLHttpRequest | void

    In client-side scripts, this method will return a transaction id for the async request that can be used to cancel the request. In server-side scripts, this method will return the JSON response object (first parameter of the success or failure callbacks.)

Generated using TypeDoc