getRequestUsername (method)
Returns the username for a connection.
Syntax
- (NSString*)getRequestUsername:(long long)connectionId;
public func getRequestUsername(_ connectionId: Int64) throws -> String
Remarks
Use this method to obtain a username for an active connection. The method will return an empty string if no authentication has been performed on the connection.