如果在AD中不存在用户,如何在SharePoint中创建新用户?

时间:2022-01-06 02:59:37

I have to import a lot of old data into SharePoint. In this data, I need to create a lot of users who are no longer in AD. Does anyone have any idea how to do that?

我必须将大量旧数据导入SharePoint。在这些数据中,我需要创建许多不再属于AD的用户。有谁知道怎么做?

Cheers

3 个解决方案

#1


The options I can come up with:

我可以提出的选项:

  • Recreate the users in Active Directory and disable the accounts
  • 在Active Directory中重新创建用户并禁用帐户

  • Attribute the files to a generic account
  • 将文件归属为通用帐户

  • Tie into a SQL database for user accounts in addition to Active Directory
  • 除Active Directory外,还可以绑定用于SQL用户帐户的SQL数据库

On a sidenote, I've seen it to be a best practice to never delete users from Active Directory due to issues like these. Instead, just disable the accounts and move them to an out of the way OU.

在旁注中,我已经看到,由于这些问题,永远不会从Active Directory中删除用户是最佳做法。相反,只需禁用帐户并将其移至OU的路径。

#2


I don't think this is possible as you are really trying to create orphaned users. Better just revert these users to the System Account - that is what I did when I last migrated a SharePoint 2003 farm to MOSS 2007.

我不认为这是可能的,因为你真的想创建孤立的用户。最好只是将这些用户还原到系统帐户 - 这就是我上次将SharePoint 2003服务器场迁移到MOSS 2007时所做的工作。

#3


You can use CSVDE to import a comma separated file, or dsadd command to add each user. See this link for details.

您可以使用CSVDE导入逗号分隔文件,或使用dsadd命令添加每个用户。请参阅此链接了解详情。

#1


The options I can come up with:

我可以提出的选项:

  • Recreate the users in Active Directory and disable the accounts
  • 在Active Directory中重新创建用户并禁用帐户

  • Attribute the files to a generic account
  • 将文件归属为通用帐户

  • Tie into a SQL database for user accounts in addition to Active Directory
  • 除Active Directory外,还可以绑定用于SQL用户帐户的SQL数据库

On a sidenote, I've seen it to be a best practice to never delete users from Active Directory due to issues like these. Instead, just disable the accounts and move them to an out of the way OU.

在旁注中,我已经看到,由于这些问题,永远不会从Active Directory中删除用户是最佳做法。相反,只需禁用帐户并将其移至OU的路径。

#2


I don't think this is possible as you are really trying to create orphaned users. Better just revert these users to the System Account - that is what I did when I last migrated a SharePoint 2003 farm to MOSS 2007.

我不认为这是可能的,因为你真的想创建孤立的用户。最好只是将这些用户还原到系统帐户 - 这就是我上次将SharePoint 2003服务器场迁移到MOSS 2007时所做的工作。

#3


You can use CSVDE to import a comma separated file, or dsadd command to add each user. See this link for details.

您可以使用CSVDE导入逗号分隔文件,或使用dsadd命令添加每个用户。请参阅此链接了解详情。