function FindUser(const UserName: string): TScUser;

 

Description

Call FindUser to determine if a specified user is referenced in the Users list. UserName is the name of the user for which to search. If FindUser finds a user with a matching name, it returns the TScUser object for the specified user. Otherwise it returns nil.

 

Note:

FindUser differs from the UserByName method only when the named user is not in the list. When the user is not found, FindUser returns nil, while UserByName raises an exception.

 

See also

UserByName

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support