I have tried hands on creating user using .net but one thing which is not done is - assigning existing group(s) to the user.
anyone please help me.
thanks in advance
You add an existing user to an existing group by the following API,
directoryManager.addPrincipalToLocalGroup(String principalOid, String localGroupOid)
You assing an existing role to an existing user(s) by the following API,
authorizatonManager.assignRole(String roleId, String principalOids)
thanks for the reply
Can you please forward me any example using dotnet, I am executing the code from a remote computer which doesn't have live cycle.
Live cycle is on server.
How to get group oid and useroid
If I have a group like "gemini", how can I search gemini and assign it to a user
please forward me the code for the remote execution using dotnet , appreciate if you could forward me with comments
Thanks for the reply in advance