SAS Office Analytics, SAS Add-In for Microsoft Office, and other integrations

using StoredProcessService without passing userContext

Reply
Occasional Contributor
Posts: 5

using StoredProcessService without passing userContext

Hi there,

I am trying to use the new SASStoredProcessService (StoredProcessService.dll and not the old way sps.dll).

The following experience is ok but i would not to send the userContext  (because i am in a SEG Custom Task already connected)

Dim usrContext As New

SAS.BI.AuthenticationService.ClientUserContext.UserContext

        Dim login As New SAS.BI.AuthenticationService.ClientUserContext.Login

        ' Initiate connection

        login = usrContext.GetOmrCredentials()

        ' Define stored process

        Dim stp As New

SAS.BI.StoredProcessService.StoredProcess(usrContext, "/Shared

Data/Reports/Examples/Test_VBNET")

any ideas,

Regards,

Greg

Ask a Question
Discussion stats
  • 0 replies
  • 215 views
  • 0 likes
  • 1 in conversation