This project has moved and is read-only. For the latest updates, please go here.

demo has 'getUserInfo', documentation does not...??????? :) :)

Sep 25, 2012 at 3:03 PM

IS it possible to use this library to get user info??

I'd like to check if the currently logged in user belongs to a specific group, then redirect according to user name, else do nothing.

That will take awhile to do and I do not have server-side access, only client-side...

Thank you, Tom 

Sep 25, 2012 at 8:11 PM

Marc had an article in 2010 that may help:

Sep 25, 2012 at 8:28 PM

I need to test for AD group not SharePoint group, sigh...

Sep 26, 2012 at 2:36 AM
Does not sound like you have looked a the documentation.
Take a look at the GetGroupCollectionFromUser operation of
the Users and Groups Service. The link posted by @glaushine is also a good resource.
Also, the GetUserInfo operation is documented here:



Sent from mobile device.

On Sep 25, 2012, at 3:28 PM, tlyczko <> wrote:

From: tlyczko

I need to test for AD group not SharePoint group, sigh...

Sep 26, 2012 at 3:31 PM
Edited Sep 26, 2012 at 3:36 PM

THIS page does not mention anything about getuserinfo:

It is THIS page I was talking about in my original post.


I'm also not a C#/VB programmer like most of the people who post to TechNet. I'm an IT generalist by the nature of where I work though I happen to have a lot of website design/development experience. In other words I'm not a SharePoint expert.

However I'll re-read Marc's blog several times and try it and see what happens etc.

Thank you, Tom

Sep 26, 2012 at 10:56 PM
Edited Sep 26, 2012 at 10:57 PM


If you want to know if a user is in an AD group, SPServices can't do it. However, you can call the Users and Groups Web Service, probably using the GetUserCollectionFromGroup operation based on what you say you want to do, with SPServices.


Sep 27, 2012 at 1:41 PM

Thank you for taking time to reply.

I figured out that evaluating the current URL and the username does enough of what I need.

Thank you, Tom