Does Active Roles have the option to create a large amount of objects at one time without using a VB script or Powershell?
No, not at this time. You will only be able use a VB script or Powershell to achieve this result.
Enhancement Request TF00156729 has been submitted and will be considered for future versions of the product.
A PowerShell script similar to the following could be leveraged to create a number of test users:
$OU = [ADSI]("EDMS://OU=Users,OU=Business Unit3,DC=qsftdemo,DC=com")
1000..2000 | foreach
{
$User = $OU.Create("user", ("CN=TestUser-"+$_))
$User.Put("displayName", ("TestUser-"+$_))
$User.Put("userPrincipalName", ("TestUser-"+$_+"@qsftdemo.com"))
$User.Put("givenName", "TestUser-Surname") $User.SetInfo()
}
Another sample:
function fReadUsers()
{
Connect-QADService -proxy
$users = Import-Csv "C:\Work\Scripts\ADUsers.csv"
foreach($user in $users)
{
$name = $user.FirstName+' '+$user.LastName
New-QADUser -FirstName $user.FirstName -LastName $user.LastName -Name $name -ParentContainer $user.Path -UserPassword 'P@ssw0rd' -ObjectAttributes @{pwdLastSet='0';userAccountOption='ADS_UF_DONT_EXPIRE_PASSWD';accountExpires='TIMEQ_FOREVER'}
}
}
© 2023 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center