Skip to main content
Version: v4 (Stable)

FindUser

FindUser(UserId AS Integer, Name AS String[, FirstName AS String]) AS Integer

Searches for the user of name <Name> and first name <FirstName>. If the user is found, his ID is returned in <UserId>.

<FirstName> is optional (empty by default).

Returns an error code (0 if user found, 8 if not found).