RE: Find what SharePoint groups a user belongs to.

From: Rhett Gong [MSFT] (v-raygon_at_online.microsoft.com)
Date: 04/21/05


Date: Thu, 21 Apr 2005 02:44:37 GMT

Hello Brian,
>From your description, you would like to add a user to a special group, but
met a problem that the user must be a member of Admin group. In order to
let me better understand your question, I need to gather some additional
information:
1> are you programming to WSS or SPS?
2> when you say "only if the user is part of the Admin...", what user are
you referencing? Is it the user you are going to add or the user to run
your code? (if it is the user to run the code, we must do impersonation.
since current security context may not have sufficient previleges to
perform Add)
I look forward to hearing back from you with the details above.

Thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties and confers no rights.



Relevant Pages

  • RE: Possible?
    ... the anonymous logon is not a AD user group as such and not something ... Its whats known as a 'special group' and can't be managed ... If a user is connecting to a resource in certain ways they ... We have a XP machine that is a member of the domain. ...
    (microsoft.public.windows.server.sbs)
  • Re: Everyone group
    ... > why even though windows 2000 does not have group named ... > Since we can assign the permission to a folder, ... "Everyone" is a special group account. ... member of the Everyone special group. ...
    (microsoft.public.inetserver.iis.security)