4

I am having an issue while adding users to Tridion CM from AD. My AD is having around 8000 users and Tridion says its not able Query AD because the no of users exceeds 1000

2

1 Answer 1

2

You don't actually need to query AD in order to add users. Adding a user via the API just requires that you know the correct AD identity of the person. Here's an example of how to add a user via the core service using Powershell. For the full code, and some more useful examples of similar things, check out the blog article I lifted this example from.

$testUserDescription = "Test User 1"
$testUserTitle = "TRIDIONDEV\test1"
$testUser = $core.GetDefaultData([ItemType]::User, $null, $null)
$testUser.Title = $testUserTitle
$testUser.Description = $testUserDescription
$testUser = $core.Create($testUser, $defaultReadOptions)

Of course, this is just one possibility. The old Tridion power tools had an Add User tool. Maybe someone's already created an up-to-date GUI extension.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.