• Returns the name of the security role represented by the permissions passed as 'perms'. The return value will be the name of a property in the LABKEY.Security.roles map. This is a local function, and does not make a call to the server.

    Parameters

    • perms: number

      The permissions set

    Returns string

    Do not use this anymore. Use the roles array in the various responses and getRoles to obtain extra information about each role.