RE: Find what SharePoint groups a user belongs to.
From: Rhett Gong [MSFT] (v-raygon_at_online.microsoft.com)
Date: Thu, 21 Apr 2005 02:44:37 GMT
>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
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
I look forward to hearing back from you with the details above.
Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties and confers no rights.