SharePointGetUserCollectionFromSite

This class provides the functions of GetUserCollectionFromSite method of Sharepoint web services.

Base
SharePointHandlerBase

Properties
Name Summary
SiteUrl target site url.


Methods
SharePointGetUserCollectionFromSite.GenerateCommand($xml)
SharePointGetUserCollectionFromSite.Initialize($siteurl)
SharePointGetUserCollectionFromSite.Interpret($xmlstr)

ex)
# define URL
$url = "http://myserver/";
# create retriever
$retriever = new SharePointGetUserCollectionFromSite;
# initialize retriever
$retriever = $retriever.Initialize($url);
# get the lists
$ret = $retriever.Get();
# check the lists
$ret;

ex) using other credentials
$url = "http://myserver/";
# use SetCredential method
$ret = (new SharePointGetUserCollectionFromSite).Initialize($url).SetCredential().Get();
# check the list
$ret;

Last edited Mar 2, 2013 at 12:37 PM by Tom__S, version 2

Comments

No comments yet.