Re: Adding all user in a domain to a sharepoint site



On 9 Mar, 06:31, saquibir...@xxxxxxxxx wrote:
On Mar 8, 10:57 pm, "bobbyr123" <elr...@xxxxxxxxx> wrote:

Hi guys,

A bit new to accessingSharepointwithC#andSharepointin general.

Could anyone tell me if there is a way to add allusersof a
particular Windowsdomainto aSharepointsite usingC#? So that all
theusersin thatdomaincan access that site.

If so how.

Any help would be much appreciated,

Thanks,

Bob

What I found is there is a utility already available named
'SPUserUtil' available at URL:http://www.microsoft.com/sharepoint/downloads/components/detail.asp?a...

'SPUserUtil' is a command line tool similar to 'SPSADM'. It has two
keys 'analyze' and 'update', former is used to generate the .xml file
with all the user account information. We can change this file with
new information, save it and can pass tosharepointby 'update' key.
So at one time you can update all the user account regardless of site
collections.

Here is the link which explains the tool in detail.

http://blogs.msdn.com/krichie/archive/2006/08/07/691488.aspx

Thanks for the reply!! That sounds almost what I'm looking for.

Can I run and use this util programmatically in C#?

I don't think I can but I'm not too sure.

Thanks again!

.



Relevant Pages

  • Re: Adding all user in a domain to a sharepoint site
    ... A bit new to accessing Sharepoint with C# and Sharepoint in general. ... former is used to generate the .xml file ... with all the user account information. ... So at one time you can update all the user account regardless of site ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Array and Hash able manipulation
    ... given a different source XML file: ... I need to be able to print the names of the keys out without ... server'ness of Perl made me come back. ... The Hash refs and Array ...
    (perl.beginners)
  • Re: Wireless Network Key
    ... Access to a regular user account in Ubuntu gets ... sudo isn't always configured for a particular user. ... your point about the keys being safer in n-m is just as useless as ...
    (Ubuntu)
  • DBIx::XML::DataLoader
    ... Is there a package or utility that can read an XML file of the sort I ... credentials to the database, and the database. ... Also obviously not all columns in the database are keys or indeces. ...
    (comp.lang.perl.misc)
  • What to search for
    ... The unique keys are "negative" as expected. ... After this step I am writing the dataset to an XML file, but it still has "negatives" there. ... How to I get it to write to the xml file with "Positive Keys". ... and using primary keys on an xml file will always be like this - until you take it and write the contents into a real server filesystem? ...
    (microsoft.public.dotnet.languages.vb)