Professional Web Applications Themes

Change user's group in ASP.NET - ASP.NET Security

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?...

  1. #1

    Default 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

  2. #2

    Default 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" <mamilbezeqint.net> wrote in message
    news:fc2413bf.0401290412.47ecf75dposting.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

  3. #3

    Default 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.kaplanremovethis.accenture.com> wrote in message news:<uFyK11n5DHA.1664TK2MSFTNGP11.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" <mamilbezeqint.net> wrote in message
    > news:fc2413bf.0401290412.47ecf75dposting.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

  4. #4

    Default 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" <mamilbezeqint.net> wrote in message
    news:fc2413bf.0401291103.4daf708cposting.google.c om...
    > 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.kaplanremovethis.accenture.com>
    wrote in message news:<uFyK11n5DHA.1664TK2MSFTNGP11.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" <mamilbezeqint.net> wrote in message
    > > news:fc2413bf.0401290412.47ecf75dposting.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

Similar Threads

  1. What to do to add a secondary user group?
    By qazmlp in forum Linux / Unix Administration
    Replies: 2
    Last Post: August 19th, 12:23 PM
  2. Verify User Group from ASP.NET
    By in forum ASP.NET Security
    Replies: 4
    Last Post: June 25th, 02:01 PM
  3. NDS user and group query
    By Michael Weber in forum PERL Beginners
    Replies: 2
    Last Post: February 13th, 10:48 PM
  4. Cocoa User's Group
    By GregZ in forum Mac Programming
    Replies: 1
    Last Post: September 29th, 07:49 PM
  5. how to add user group member
    By Kristianto in forum Sun Solaris
    Replies: 1
    Last Post: June 26th, 11:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139