Retrieves a User object from its name property.

Namespace: Sfs2X.Entities.Managers
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
public User GetUserByName(
	string userName
)

Parameters

userName
Type: System..::..String
The name of the user to be found.

Return Value

Type: User
The object representing the user, or null if no user with the passed name exists in the local users list.

Implements

IUserManager..::..GetUserByName(String)

See Also