Hi,

I have a file system filter. I want to block all file access except for
users belong to admin group. How i can know whether a particular user
has administrator privilege


Regards
John

Re: query admin privilege from file system filter by Maxim

Maxim
Fri Feb 11 07:02:55 CST 2005

Parameters.Create.SecurityContext points to a structure from which you can
get the token pointer, and then call SeIsTokenAdmin or SeSinglePrivilegeCheck
on it.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"John" <johnav@gmail.com> wrote in message
news:1108101994.239355.255810@l41g2000cwc.googlegroups.com...
> Hi,
>
> I have a file system filter. I want to block all file access except for
> users belong to admin group. How i can know whether a particular user
> has administrator privilege
>
>
> Regards
> John
>