set_UserName()

NetworkCredential::set_UserName(String) method

Sets the username.

void System::Net::NetworkCredential::set_UserName(String value)

Arguments

ParameterTypeDescription
valueStringThe username to set.

See Also