Hi Vipul,

I know this is most likely a bit late, but anyhow...

If you prefer C#, you should check out
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/creating_groups.asp
(System.DirectoryServices)
If you prefer VB / VBS, try
http://support.microsoft.com/default.aspx?scid=kb;en-us;232241 (ADSI / WMI)

Cheers,
Mikael

-----Original Message-----
From: Vipul Patel <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Fri, 7 May 2004 12:50:07 +0530
Subject: [ADVANCED-DOTNET] Creating Windows user and groups at installation
time

> HI,
>
> I need to create a special Windows user group called "AppName" on the
> lines
> of "Administrators", "Users", etc. My application will only run if the
> current user belongs to this group. I am looking for a code snippet to
> run
> in my deployment installer class that will create the Windows user
> groups.
> Any pointers?
>
> Regards,
> Vipul Patel
>
> ===================================
> This list is hosted by DevelopMentor�  http://www.develop.com
> Some .NET courses you may be interested in:
>
> NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
> http://www.develop.com/courses/gaspdotnetls
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to