cancel
Showing results for 
Search instead for 
Did you mean: 

Using single sign on in .net connector

Former Member
0 Kudos

Hello Freinds

IS there a sample code in vb.net to use signle sign on,I am using

a windows form based application.

regards

kaushik

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

you can use ERPConnect.

To create an SSO ticket the R3Connection class provides the method GetSSOTicket(u2026). All

logon data must be provided once to create the ticket as shown in the code below.

ERPConnect.R3Connection cont = new ERPConnect.R3Connection();

cont.Host = "duncan";

cont.SystemNumber = 7;

cont.Client = "800";

cont.Language = "DE";

cont.UserName = "Theobald";

cont.Password = "pw";

string ssoticket = cont.GetSSOTicket();

If there is a ticket available (created by ERPConnect or another application) use OpenSSO(u2026)

to establish the connection without user credentials:

ERPConnect.R3Connection conts = new ERPConnect.R3Connection();

conts.Host = "duncan";

conts.SystemNumber = 7;

conts.Client = "800";

conts.Language = "DE";

conts.OpenSSO(ssoticket);