Uri.setUserinfo

Set or unset the user information for the URI.

class Uri
bool
setUserinfo
(
string userinfo
)

Parameters

userinfo string

The new user-information string to set or null to unset.

Return Value

Type: bool

true if the user information was set/unset successfully.