Extension methods for the
class. These extension methods are in the Security.Principal namespace, so in order to use them both the Security.Principal and System.Security.Principal namespaces must be included in your code.
Get the group information for all of the groups that associated with the
. This is different from the standard
property in that none of the returned groups are filtered out. Before using any of the groups, it is important to ensure that they are enabled and not for deny-only by checking their attributes.
A collection of
objects containing the group SIDs which are attacked to the WindowsIdentity's token, as well as the associated attributes.
Get a SafeHandle for the token that the WindowsIdentity represents.
for the token of the WindowsIdentity. This token handle can be used beyond the lifetime of the originating WindowsIdentity object and must be disposed of seperately.
Determine if the a WindowsIdentity is in the Administrator role