How to purge specific users/groups from a SharePoint site collection? -


I am trying to write utility to find / delete specific users and groups from a SharePoint site collection. At this time I am using the property of SPWeb to work on SiteUsers , but I am thinking: why there is no such property SPS ite class? It seems completely intuitive (though I am no wonder now about SharePoint about this point).

What is a better way of doing what I am trying to do?

Related:

Unfortunately, I can not really answer Why ended this way ... :) It is a fact of SharePoint that you use SPWeb to call SPS ite.OpenWeb () or SPS ite.RootWeb and then go to the site user. Are there. I think that the way you are using the object model is OK.

If you switch to using SharePoint's web services, then you can use these two methods: and.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -