u8.session.identity

Use the following functions to identify the current rep (e.g. for render hooks, process metrics etc.):

  • u8.session.identity.repId gets the current user's Rep ID as an integer value.
  • u8.session.identity.repName gets the current user's Rep name (e.g. "John Doe").
  • u8.session.identity.userName gets the current user's login name (e.g. "JOHN")
  • u8.session.identity.isSuperUser is true if the current user is the SU.