Identifying a user's group membership

From: Chris_uk (sideshowbob102_at_hotmail.com)
Date: 06/26/03


Date: Thu, 26 Jun 2003 14:15:49 -0700


I am trying to identify group memberships for users that
logon to my application. I know that the WindowsPrincipal
technique can be used to compare the user's group against
the ones in windows security but how do i simply go about
enumerating a user's group so i can assign it to a string?

Thanks,

Chris



Relevant Pages

  • Re: How to force a logoff in a logon script?
    ... Windows has a registry key that governs which UI will be presented ... the unauthorized user cancels the logon dialog and goes away ... system, but complains that there was no cancel button, only an OK ...
    (microsoft.public.windows.server.scripting)
  • Re: When utilizing "Switch User" the music "NEVER" Stops!
    ... 2004 Windows MVP "Winny" Award ... Switch User, changing logons and checking the top of Zone ... >logging onto the 2nd logon and then logging off and back ... >>NEVER stopped thru any of the screens ?? ...
    (microsoft.public.windowsxp.general)
  • Re: Huh? "Login failure: the user has not been granted the requested logon type at this compute
    ... I'm a pretty experienced Windows user and programmer, ... the user has not been granted the requested logon type ... on the appropriate OU to see the Group Policy for that OU]. ... > administrators' group to the domain controller. ...
    (microsoft.public.security)
  • Re: List of Applications Not Compatible with Leopard
    ... competitor on Windows? ... Again, if you refuse to compare, nothing can be better. ... was the end result - the Vista bug in question likely had *not* been ... If it is true that you gain performance by using lower end hardware than ...
    (comp.sys.mac.advocacy)
  • Re: Server 2K3 Remote Desktop Access - is this right place?
    ... All roads for that particular error of 'You do not have access to logon to ... On Windows Server 2003, launch GPEDIT.MSC from Start -> Run. ... Drill down and expand the following for Local Computer Policy: ... > Strange - when I activate the Remote Desktop Terminal from the server, ...
    (microsoft.public.win2000.advanced_server)