Skip to main content
Participant
August 12, 2021
Question

create user with api without login as administrator

  • August 12, 2021
  • 1 reply
  • 445 views

hi

I want to create user if not exist.

I should login as administrator and then create user but when login as administrator user can login in my adobe connect server.

Is there a way that does not require login as administrator ?

thank you...

    This topic has been closed for replies.

    1 reply

    Jorma_at_CoSo
    Legend
    August 12, 2021

    Creating a user is an Admin only function, and when using most APIs you really should be logged in as an Admin to ensure your API calls work. If, after you create the user you share your session token, then they would be logged in as you. 

    If you need them to just be logged in, you don't need to first be logged in. Steps to login a user who has been created are outlined here: https://helpx.adobe.com/adobe-connect/webservices/login.html 

    Participant
    August 14, 2021

    thank you 

    but my user maybe don't have acount so I want to create an account for user and then login in user.

    when I want create user must login as admin and in this time maybe user login in from another tab and can login as admin in my server.

    have you idea?

    Jorma_at_CoSo
    Legend
    August 18, 2021

    You will need to have a script that attempts to log the user in, if they don't have an account then you would go through the user creation workflow. Then log out as the admin and login as the newly created user.