Uri.getUser

Gets the ‘username’ component of uri's userinfo, which may contain %-encoding, depending on the flags with which uri was created. If uri was not created with G_URI_FLAGS_HAS_PASSWORD or G_URI_FLAGS_HAS_AUTH_PARAMS, this is the same as glib.uri.Uri.getUserinfo.

class Uri
string
getUser
()

Return Value

Type: string

uri's user.