How do I check the Windows Identity in a client application?