June 2003
Intermediate to advanced
800 pages
34h 20m
English
You want to determine application privileges based on group membership.
Create a WindowsPrincipal object from the current WindowsIdentity, and call the IsInRole method.
The Windows operating system allows you to place users in groups and give these groups different permissions for accessing resources such as files and the registry. In addition, you can create application-specific groups (such as Sales-Managers, Contractors, and so on), examine these in your code, and then configure the behavior of your application accordingly. To configure groups and group members, select Computer Management from the Control Panel. Figure 18-1 shows the Computer Management console with some common groups. ...
Read now
Unlock full access