xtd 0.2.0
Loading...
Searching...
No Matches

◆ user_info()

xtd::string xtd::uri::user_info ( ) const

Gets the user name, password, or other user-specific information associated with the specified URI.

Returns
string A string that contains the user information associated with the URI. The returned value does not include the '@' character reserved for delimiting the user information part of the URI.
Exceptions
xtd::invalid_operation_exceptionThis instance represents a relative URI, and this property is valid only for absolute URIs.
Remarks
The value returned by this property is usually in the format "userName:password".