Re: check if a user is a member of a particular group in active direct

From: Patrick.O.Ige (naijacoder_at_hotmail.com)
Date: 10/31/05


Date: Mon, 31 Oct 2005 15:48:25 +1100

Smitha try looking at my blog at:-
http://spaces.msn.com/members/naijacoder/
i blogged something related.
Hope that helps
Patrick

"Smitha" <Smitha@discussions.microsoft.com> wrote in message
news:8DA7A988-CBF8-4E9B-94DD-4CCEF6D5CFC1@microsoft.com...
> Hi everyone,
>
> in my asp.net application,i need to find out if a particular user is in
the
> administrator group and permit him access to certain pages accordingly.
> can anybody help me in finding out the administrative group in the active
> directory using c# and check if the user is a member of that group.
>
> i would also like to know
> 1. how to find out the security groups in the active directory
> 2.list all the groups that the user is a member of.
> any sort of help will be appreciated.
>
> thanks,
>
>



Relevant Pages

  • Re: moving users from one domain to another - And
    ... the SID filtering must be switched off to enable users that have been migrated to the Active Directory domain to access resources based on their SID history. ... To perform the migration of users and other object to Active Directory, the correct credentials needs to be assigned to the administrator that will be performing this task. ... you must be a member of the Builtin\Administrator group on the Source domain and the Target Domain ... you must be a member of the Administrator group in both the Source and Target domain and a member of the Administrator group on each computer being migrated. ...
    (microsoft.public.windows.server.general)
  • check if a user is a member of a particular group in active direct
    ... administrator group and permit him access to certain pages accordingly. ... how to find out the security groups in the active directory ... 2.list all the groups that the user is a member of. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Inherited Permissions for Printers
    ... Yes it's possible to inheritance the Security from the ... active directory is child objects to it's host/computer/server. ... > 2000 Advanced Server member servers. ... > servers so that when a member of the domain security group "IT Helpdesk ...
    (microsoft.public.win2000.active_directory)
  • Re: ForestPrep Issues!
    ... not load exchange 2003 server on a production box as ... >the Domain Admins, Schema Admins, Enterprise Admins ... >a member of the Schema Admin and Enterprise Admins group ... >> I have a domain with a single active directory. ...
    (microsoft.public.exchange.setup)
  • Re: Active Directory Only Displays Local Objects
    ... The SBS Server is the DC. ... up/restore Active Directory and restore it, ... necessitated a reinstall. ... Why can't the computer, which is a member of the domain, see Active ...
    (microsoft.public.windows.server.active_directory)