CDBResult CUser::GetByLogin( string login )
The method GetByLogin returns a user by the login as the CDBResult class instance.
| Parameter | Description |
|---|---|
| login | User login. |
<?
$rsUser = CUser::GetByLogin("admin");
$arUser = $rsUser->Fetch();
echo "<pre>"; print_r($arUser); echo "</pre>";
?>
| © 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |