Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Is there a way of finding if the user is a system administrator?

Hi,

I'd like to know if there is any way in VBScript Excel 2003, to determine
whether the current user is a system administrator. I have a custom addin
that I only want the uninstall to be run if the user is a system
administrator.

Thanks,
Ryan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default Is there a way of finding if the user is a system administrator?

"rchan11" wrote:

Hi,

I'd like to know if there is any way in VBScript Excel 2003, to determine
whether the current user is a system administrator. I have a custom addin
that I only want the uninstall to be run if the user is a system
administrator.


You can find some sample code for testing group membership he

http://www.rlmueller.net/freecode1.htm

Hope this helps.

--
urkec
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need to change system administrator settings tbolen Excel Discussion (Misc queries) 0 March 8th 07 09:34 PM
How to know which user is having permissions on the different system folder. areddy[_27_] Excel Programming 0 November 30th 05 09:18 AM
User Access to System Sgwapt Excel Programming 3 October 24th 05 06:21 PM
How do I set up a user friendly inventory system using Excel as b. M. Hall Excel Programming 1 December 16th 04 08:58 PM
Is the user Administrator MrT Excel Programming 9 October 20th 04 09:11 PM


All times are GMT +1. The time now is 05:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"