The system.securityManager interface provides access to user security details. Some uses of the Security Manager include:
system.securityManager