Skip to main content


 

Symptoms


I need to do some actions on a list of users separated by
The user have just the list of user separated by and he will need to do something for each of these users.
 

Diagnoses


This could be done with the "User Role Manager Service"
 

Resolution

After some tests here, and as you have a large number of users in your Active Directory, I think the best method would be to use the Service standard Type "User Role Manager Service" Service Object "User" Method "Get Users by Names".
For information, to make your test, there is a SmartObject Standard named "UMUser" that has this feature, but with the renamed method: "Get By FQN Users".
Remember, if you want to use this service, it is strongly recommended not to use this SmartObject Standard UMUser, but creating your own SmartObject.

If you put in this parameter:

andltNamesandgtandltNameandgtK2:DENALLIXAdministratorandlt/NameandgtandltNameandgtK2:DENALLIXBobandlt/NameandgtandltNameandgtK2:DENALLIXBobNotFoundandlt/Nameandgtandlt/Namesandgt

You will have a result that should suit you.
Here attached a screenshot.




You should get the transformation from
K2:DENALLIXAdministratorK2:DENALLIXBobK2:DENALLIXBobNotFound
to
andltNamesandgtandltNameandgtK2:DENALLIXAdministratorandlt/NameandgtandltNameandgtK2:DENALLIXBobandlt/NameandgtandltNameandgtK2:DENALLIXBobNotFoundandlt/Nameandgtandlt/Namesandgt
by concatenation functions and replacement SmartForms.




 
Be the first to reply!

Reply