Ask a Question related to ASP.NET Security, Design and Development.
-
Memi Lavi #1
Change user's group in ASP.NET
Hi Guys.
I need a way to change a user's group in the OS. Unfortunately, I
don't have Active Directory, so I won't be able to use it.
I've searched through the docs, but couldn't find any way of doing so.
I believe a task like this will require high permissions for the IIS
and ASPNET users, but it's not a problem for me.
How can I do that?
Memi Lavi Guest
-
Change settings to "Always Allow" via Group Policy
We upgraded our Flash Players from v6 to v8 (I know v9 is out we haven't go there yet) a couple months ago, and we've just noticed that we can not... -
Sydney Flash Developers Group July Meeting *** Venue Change***
There been a change of venue due to the last minute unavailability of the Burwood venue. James Squire Room (at the back of the pub) James Squire... -
Elements "pasted inside" change position when parent group is re-sized
Anyone else have this problem? I've got a fairly complex logo -- all vector elements created in FH (11.01). The group includes several... -
Cocoa User's Group
Anyone in the greater Kansas City area who would be interested in forming a Mac user group concentrating on Cocoa and the UNIX aspects of OS X... -
Where is the Power User's Group?
Use the Computer Management snap-in (you can get there from Administrative Tools) and Power Users is one of the groups listed. Only available on... -
Joe Kaplan \(MVP - ADSI\) #2
Re: Change user's group in ASP.NET
If you don't have AD, what do you have that is the source of the user's
groups? Are they from an NT4 domain or a local machine?
In either case, you would use System.DirectoryServices with the WinNT
provider to do group membership changes.
Joe K.
"Memi Lavi" <mamil@bezeqint.net> wrote in message
news:fc2413bf.0401290412.47ecf75d@posting.google.c om...> Hi Guys.
>
> I need a way to change a user's group in the OS. Unfortunately, I
> don't have Active Directory, so I won't be able to use it.
> I've searched through the docs, but couldn't find any way of doing so.
> I believe a task like this will require high permissions for the IIS
> and ASPNET users, but it's not a problem for me.
>
> How can I do that?
Joe Kaplan \(MVP - ADSI\) Guest
-
Memi Lavi #3
Re: Change user's group in ASP.NET
Oops. sorry for forgeting mention that important detail...
The users and groups are domain-wide.
I'm not familiar with the WinNT provider and the directoryServices
namespace. Could you please supply a sample of using it in order to
change user's group?
Thanks!
"Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@removethis.accenture.com> wrote in message news:<uFyK11n5DHA.1664@TK2MSFTNGP11.phx.gbl>...> If you don't have AD, what do you have that is the source of the user's
> groups? Are they from an NT4 domain or a local machine?
>
> In either case, you would use System.DirectoryServices with the WinNT
> provider to do group membership changes.
>
> Joe K.
>
> "Memi Lavi" <mamil@bezeqint.net> wrote in message
> news:fc2413bf.0401290412.47ecf75d@posting.google.c om...> > Hi Guys.
> >
> > I need a way to change a user's group in the OS. Unfortunately, I
> > don't have Active Directory, so I won't be able to use it.
> > I've searched through the docs, but couldn't find any way of doing so.
> > I believe a task like this will require high permissions for the IIS
> > and ASPNET users, but it's not a problem for me.
> >
> > How can I do that?Memi Lavi Guest
-
Joe Kaplan \(MVP - ADSI\) #4
Re: Change user's group in ASP.NET
Assuming you have an NT4 domain, then you should be able to make these
changes using the WinNT provider with System.DirectoryServices. However, I
am not at all an expert in NT4 domains, only Active Directory.
I suggest you repost your question in microsoft.public.adsi.general and let
some of the other experts in this area help out.
Joe K.
"Memi Lavi" <mamil@bezeqint.net> wrote in message
news:fc2413bf.0401291103.4daf708c@posting.google.c om...wrote in message news:<uFyK11n5DHA.1664@TK2MSFTNGP11.phx.gbl>...> Oops. sorry for forgeting mention that important detail...
>
> The users and groups are domain-wide.
> I'm not familiar with the WinNT provider and the directoryServices
> namespace. Could you please supply a sample of using it in order to
> change user's group?
>
> Thanks!
>
> "Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@removethis.accenture.com>> > If you don't have AD, what do you have that is the source of the user's
> > groups? Are they from an NT4 domain or a local machine?
> >
> > In either case, you would use System.DirectoryServices with the WinNT
> > provider to do group membership changes.
> >
> > Joe K.
> >
> > "Memi Lavi" <mamil@bezeqint.net> wrote in message
> > news:fc2413bf.0401290412.47ecf75d@posting.google.c om...> > > Hi Guys.
> > >
> > > I need a way to change a user's group in the OS. Unfortunately, I
> > > don't have Active Directory, so I won't be able to use it.
> > > I've searched through the docs, but couldn't find any way of doing so.
> > > I believe a task like this will require high permissions for the IIS
> > > and ASPNET users, but it's not a problem for me.
> > >
> > > How can I do that?
Joe Kaplan \(MVP - ADSI\) Guest



Reply With Quote

