Application #97. Implement Windows Role-Based Security
This sample application shows you how to retrieve the identity and group membership for a Windows user of your application. The sample application demonstrates how to selectively enable certain application features (such as controls) based on the user’s identity. The sample form has two tabs. The first tab shows how you can gather information about the user’s identity and the groups the user belongs to. The second tab demonstrates selective access to a protected form, based on the groups the user belongs to.
Application #4: Try/Catch/Finally
Application #7: Object-Oriented Features
The .NET Framework provides a coordinated set of classes for managing security, ...