I’m able to get this folder:
C:\Users\XXX\Documents
out of my code:
string myDocuments =
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
I need to get the userinitials (XXX), is there nice way of getting it, like MyDocuments?
If so I would prefer that clean way, instead of chooping the username out of my folder-path.
You may checkout the UserName property: