public PrivilegeEnabler(AccessTokenHandle accessTokenHandle)
 {
     this.accessTokenHandle = accessTokenHandle;
 }
Beispiel #2
0
 internal static AdjustPrivilegeResult RemovePrivilege(AccessTokenHandle accessTokenHandle, Privilege privilege)
 {
     return(AdjustPrivilege(accessTokenHandle, privilege, PrivilegeAttributes.Removed));
 }