Index

(application)

o2app_user

string o2app_user(string $new_user)

If called with no parameters simply returns currently logged user.
If $new_user is valorized it will try to change the current user with user=$new_user and the OLD user is returned.


Parameters:
  1. $new_user
  2. New user name
Related functions:

o2app_password

o2user_roles

o2user_rights

o2app_runlevel