Documentation

SearchUser

array
CSocNetUser::SearchUser(
 string user,
 bool bIntranet = false
);

The method searches user by name or ID. Static method.

Parameters

Parameter Description Available from version
user User name or ID. When parameter is number or a string, containing number enclosed in square brackets, this number is deemed as user ID. Otherwise, this parameter is deemed as a string containing user full name.
bIntranet Flag, specifying operations performed within intranet. Optional parameter. Default value is false.

Returned value

Array of users, satisfying search conditions.



© «Bitrix24», 2001-2024
Up