Board index » delphi » Power User

Power User

Hi,
Could someone tell me how to determine, using Delphi code, whether a user is
Standard user(power user), restriected user or administrator ?
Thanks.
MW.
 

Re:Power User


 Is it possible to write to keys in HKEY_LOCAL_MACHINE folder if you are
logged to a PC as a Power User ?  I thought that isn't possible but the link
bellow seems to suggest differently.  Can someone clarify this to me,
please.
Thanks.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q236592
"MW" <martin_maxwe...@hotmail.com#> a crit dans le message news:
Ne_x8.462$%M1.160...@news2-win.server.ntlworld.com...

Quote
> Hi,
> Could someone tell me how to determine, using Delphi code, whether a user
is
> Standard user(power user), restriected user or administrator ?
> Thanks.
> MW.

Re:Power User


Quote
MW wrote in message ...
>http://support.microsoft.com/default.aspx?scid=kb;EN-US;q236592
>"MW" <martin_maxwe...@hotmail.com#> a crit dans le message news:
>Ne_x8.462$%M1.160...@news2-win.server.ntlworld.com...
>> Hi,
>> Could someone tell me how to determine, using Delphi code, whether a
user
>is
>> Standard user(power user), restriected user or administrator ?
> Is it possible to write to keys in HKEY_LOCAL_MACHINE folder if you are
>logged to a PC as a Power User ?  I thought that isn't possible but the
link
>bellow seems to suggest differently.  Can someone clarify this to me,
>please.

The question is not so much one of groups as of the resulting
privileges. The groups are there to keep things organised and
are to some extent arbitrary and arbitrarily-named. For instance,
there is no account named "Administrator" in my NT4 domain, simply
because I renamed it.

The thing to do would be to find out about the NT user privileges
structure; I imagine there are a few books and several hundred
tutorials to be found on the subject. Perhaps it's even mentioned
in the win32 help file, although finding out from a conslidated
source like a book would probably be preferable in this case.

Groetjes,
Maarten Wiltink

Other Threads