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



On Mar 8, 10:57 pm, "bobbyr123" <elr...@xxxxxxxxx> wrote:
Hi guys,

A bit new to accessing Sharepoint with C# and Sharepoint in general.

Could anyone tell me if there is a way to add all users of a
particular Windows domain to a Sharepoint site using C#? So that all
the users in that domain can 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?a1=724



'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 to sharepoint by '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


.



Relevant Pages

  • Re: Change User ID - Possible?
    ... I'm teaching a SharePoint Admin Survival Camp in Tampa December 8th - 12th. ... The Only way you can do is to replace the user account i.e. delete the old user account and add a new user account, but before you delete the old account you have to find out the permissions of the old account and apply the same permissions to the new account, this can be automated through code. ... Can I update the database changing all the DOMAIN\user1 to ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Change User ID - Possible?
    ... Never directly change SharePoint data in the database. ... The Only way you can do is to replace the user account i.e. delete the old user account and add a new user account, but before you delete the old account you have to find out the permissions of the old account and apply the same permissions to the new account, this can be automated through code. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: creation of Documents from within Project Pro 2003?
    ... You need to set every user account in PWA to use Windows User Account ... The features of SharePoint available in Project Server ...
    (microsoft.public.project.pro_and_server)
  • Re: Allowing RDP User Certain Permissions
    ... rights/permission for the completion of his sharepoint integration. ... It should be on a member server. ... a user account won't even have rights to log into a DC. ... such a no-no, SBS would not exist. ...
    (microsoft.public.windows.server.general)
  • Re: Rename Useer
    ... A best pratice approach for this would be to deactivate the user account and ... create a new one with the same profile. ... of a thoroughly intergrated WSS with AD. ... > inside sharepoint and other domain areas still shows the old user. ...
    (microsoft.public.windows.server.sbs)