UserName Property

         Example         Applies To

Returns or sets the name of the current user. Read/write String.


Send feedback to MSDN.Look here for MSDN Online resources.