sudhangi | Posts: 59

Create a new user in an account

1 votes
Hi, Is there a way to create a new user in eSL using SDK's or Rest API's? I understand that .inviteUser() is one of the option to create a new user, but that would mean that the user has to actually go through the email and perform the 'Account Registration' step. Is it possible to bypass that step and create a new user account directly? Thanks.

Approved Answer
harishaidary | Posts: 1812

Reply to: Create a new user in an account

0 votes
Can you try with the latest version of the sdk? https://docs.esignlive.com/content/c_integrator_s_guide/sdk/a_introduction/getting_started_with_sdks.htm#eSignLive_Java_SDKs

harishaidary | Posts: 1812

Reply to: Create a new user in an account

0 votes
Hi Sudhangi, You can skip the registration step by adding the .withStatus(SenderStatus.ACTIVE) method when building your AccountMember object as per: https://developer.esignlive.com/guides/feature-guides/senders/

sudhangi | Posts: 59

Reply to: Create a new user in an account

0 votes
Hi Haris, Thank you for your response. I tried that but it still requires 'Account Registration' and when I checked in eSL it shows that user as an 'Account Invitee' . It still seems to me that the user action of account registration is still required. See attached. Thanks.

Attachments
harishaidary | Posts: 1812

Reply to: Create a new user in an account

0 votes
Can you please delete this sender and try again? Make sure that you provide a first name, last name, email address, and to include the method .withStatus(SenderStatus.ACTIVE)

sudhangi | Posts: 59

Reply to: Create a new user in an account

0 votes
Hi Haris, I deleted the user and tried again, but I see the same behavior Here is my code snippet: dssEslClient.getAccountService().inviteUser( AccountMemberBuilder.newAccountMember("[email protected]") .withFirstName("Sender" ) .withLastName( "One") .withCompany( "GXXXA" ) .withStatus(SenderStatus.ACTIVE) .build() ); Thank you.

harishaidary | Posts: 1812

Reply to: Create a new user in an account

0 votes
I just ran a quick test on the fedramp environment and I wasn't able to reproduce your issue. What version of the java sdk are you using?

sudhangi | Posts: 59

Reply to: Create a new user in an account

0 votes
I am using version 8 of Java SDK.

harishaidary | Posts: 1812

Reply to: Create a new user in an account

0 votes
eSignLive's Java SDK 11.8 correct? Can you please send me your complete code to [email protected] so I can try it out. Thanks.

sudhangi | Posts: 59

Reply to: Create a new user in an account

0 votes
I have sent you the code. Just checked the eSL SDk version is 11.0.1 Thanks.

sudhangi | Posts: 59

Reply to: Create a new user in an account

0 votes
I was able to get it working with version 11.8, but with 11.9 new issues come up. I will go ahead and update our system to version 11.8 in that case.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off