API:getWebUserInfo

From MODx Wiki
Jump to: navigation, search

Example

$modx_webuser = $modx->getWebUserInfo($modx_id);
 
foreach ($modx_webuser as $key => $value) {
  echo $key.': '.$value.'<br>';
}

Notes

Returns an array of the web user details.

Also see getLoginUserID() and getLoginUserName().

Personal tools