>Hi Vidar,
>
>>Does this class work also for NT?
>
>Yep. But some API calls are different on Windows 9x, WinNT and Windows 2000. Additionally, on WinNT you have most API functions in ANSI and Unicode versions. The samples use all the ANSI versions and never pass a security descriptor. It might be necessary to do this on NT.
>
In most cases, passing a null pointer for a SID will have NT use the default security descriptor for the process.