Specifying the user logon name

Once your script has created a web application log-on name as a string value, it must assign the name to the LoginUser.Username property. The script can assign the user name string directly to the property.