Learn about Windows PowerShell
Summary: Use a .NET Framework class in Windows PowerShell to get user name and domain name information.
How can I use a .NET Framework class in Windows PowerShell to get a user name and domain in the format userdomain\username, without building a string?
Use the Name property from the GetCurrent static method of the WindowsIdentity .NET Framework class:
This is actually a pretty nice tip!
How do one come to know all(or the cool ones) the features of the dotNet framework classes?
Great tip. Explain why the .token changes.
There are manyu kinds of tokens. There are token gifts and token players as well as subway and bus tokens.
IBM has invented a computer token. Her eis the explanation for it: pic.dhe.ibm.com/.../index.jsp
Here is the explanation for the Microsoft implementation of the access 'token' for the users current process context:
Excellent Post. Also visit www.msnetframework.com/framework.php