How to determine if a user is member of a group
From: Albert Waelti (albert.waelti@gmx.net)
Date: 09/04/02
- Next message: Hachim El Khiyari: "NT User profile information"
- Previous message: Mike Moore [MS]: "RE: PGP library"
- Next in thread: Willy Denoyette [MVP]: "Re: How to determine if a user is member of a group"
- Reply: Willy Denoyette [MVP]: "Re: How to determine if a user is member of a group"
- Reply: Paul Clement: "Re: How to determine if a user is member of a group"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Albert Waelti" <albert.waelti@gmx.net> Date: Wed, 4 Sep 2002 07:37:28 -0700
Hi
I used ASP.NET to built a web site. The login process is
done using LDAP. This works fine and if an invalid user or
password is entered I get an exception and display an
error message.
Now I'd like to test if the user belongs to a particular
group. How can I do this ?
The DirectoryEntry "memberof" lists all the groups to
which the user belongs, except the primary group. How can
I test if the primary group is the group I'm looking for ?
Any example will be welcomed.
Thanks in advance.
Albert
- Next message: Hachim El Khiyari: "NT User profile information"
- Previous message: Mike Moore [MS]: "RE: PGP library"
- Next in thread: Willy Denoyette [MVP]: "Re: How to determine if a user is member of a group"
- Reply: Willy Denoyette [MVP]: "Re: How to determine if a user is member of a group"
- Reply: Paul Clement: "Re: How to determine if a user is member of a group"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
Loading