Skip to Content
avatar image
Former Member

Using single sign on in .net connector

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 26, 2008 at 09:06 AM

    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);

    Add comment
    10|10000 characters needed characters exceeded