System user login type whether

I want to check System user login type whether login user is administrator or guest user I’m able to check which user is login by system.environment.username but want to know type of user it is