Exemplo n.º 1
0
 public string ImpersonateApplication(ref WindowsService.Authentication.OTAuthentication OTAuthentication, string applicationID)
 {
     WindowsService.Authentication.ImpersonateApplicationRequest inValue = new WindowsService.Authentication.ImpersonateApplicationRequest();
     inValue.OTAuthentication = OTAuthentication;
     inValue.applicationID    = applicationID;
     WindowsService.Authentication.ImpersonateApplicationResponse retVal = ((WindowsService.Authentication.Authentication)(this)).ImpersonateApplication(inValue);
     OTAuthentication = retVal.OTAuthentication;
     return(retVal.ImpersonateApplicationResult);
 }
Exemplo n.º 2
0
 WindowsService.Authentication.ImpersonateApplicationResponse WindowsService.Authentication.Authentication.ImpersonateApplication(WindowsService.Authentication.ImpersonateApplicationRequest request)
 {
     return(base.Channel.ImpersonateApplication(request));
 }