Is it possible to get the currently logged in user\'s username with Silverlight? You can assume that user has Windows OS and the Silverlight application is hosted in Interne
// a small improvement of Code Maverick answer using System.IO.Path.DirectorySeparatorChar rather // then //
Environment .GetFolderPath(Environment.SpecialFolder.Personal) .Split(new[] { System.IO.Path.DirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries)[2];