Re: Adding all user in a domain to a sharepoint site
- From: "bobbyr123" <elroyf@xxxxxxxxx>
- Date: 9 Mar 2007 01:31:56 -0800
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!
.
- References:
- Adding all user in a domain to a sharepoint site
- From: bobbyr123
- Re: Adding all user in a domain to a sharepoint site
- From: saquibirfan
- Adding all user in a domain to a sharepoint site
- Prev by Date: Re: Deploy web parts on MOSS
- Next by Date: Custom Themes
- Previous by thread: Re: Adding all user in a domain to a sharepoint site
- Next by thread: ContextEvent event of SPItem
- Index(es):
Relevant Pages
|