| Author |
Message |
Ling
Guest
|
Posted:
Thu Jan 06, 2005 6:15 am Post subject:
detect whether a user logs on as an administrator or limited |
|
|
I need to display extra page content (.asp file) for users with administrator
rights on Windows XP SP2 machines. I can detect whether the client is using
Windows XP SP2 quite easily. But, how could I detect whether a user has
logged on as a limited user or an administrator?
Any help is appreciated. |
|
| Back to top |
|
 |
Al Dunbar [MS-MVP]
Guest
|
Posted:
Fri Jan 07, 2005 6:05 am Post subject:
Re: detect whether a user logs on as an administrator or lim |
|
|
"Ling" <Ling@discussions.microsoft.com> wrote in message
news:E5F52DBE-4FC3-4AE0-943E-6BCCE2DF2B27@microsoft.com...
| Quote: | I need to display extra page content (.asp file) for users with
administrator
rights on Windows XP SP2 machines. I can detect whether the client is
using
Windows XP SP2 quite easily. But, how could I detect whether a user has
logged on as a limited user or an administrator?
|
Your ASP code is server-side, so I am not sure how it could detect the
privilege level the user has on the client machine. Even if you ran the code
browser-side, I would think the broswer security settings should balk at
whatever it would take to make that determination.
/Al |
|
| Back to top |
|
 |
Ling
Guest
|
Posted:
Fri Jan 07, 2005 12:19 pm Post subject:
Re: detect whether a user logs on as an administrator or lim |
|
|
Yes, it has to be some client side scripting like what I did to detact the OS
with javascript.
"Al Dunbar [MS-MVP]" wrote:
| Quote: |
"Ling" <Ling@discussions.microsoft.com> wrote in message
news:E5F52DBE-4FC3-4AE0-943E-6BCCE2DF2B27@microsoft.com...
I need to display extra page content (.asp file) for users with
administrator
rights on Windows XP SP2 machines. I can detect whether the client is
using
Windows XP SP2 quite easily. But, how could I detect whether a user has
logged on as a limited user or an administrator?
Your ASP code is server-side, so I am not sure how it could detect the
privilege level the user has on the client machine. Even if you ran the code
browser-side, I would think the broswer security settings should balk at
whatever it would take to make that determination.
/Al
|
|
|
| Back to top |
|
 |
|
|
|
|