Retrieves and returns the username that is used to validate the client to the middleware. Invoked when user authentication is required while establishing a connection.

C# |
public virtual string OnGetUsername()

The username.
C# |
public virtual string OnGetUsername()