1. Script object OG.Role

    Article: AN0002189Updated:

    This object offers functions for reading role metadata.

    Script functions

    Name Description
    Role GetById(int id) Function returns role according to the input Id.
    Role GetByCode(string code) Function returns role according to the input code.
    RoleList GetAll() Function returns all the roles.
    int AuthenticateUsersRoleId Id of the role assigned to all authenticated users.
    int ReportRoleId Id of the role for reports.

    Object call

    OG.Role

×