which account do webservices run under?

mrQQmrQQ Member Posts: 239
edited 2013-09-25 in NAV Three Tier
do they run under the service account?

is it possible to make them run under callers account via delegation?

Comments

  • Wisa123Wisa123 Member Posts: 308
    Yes, as far as i know they run under the service Account, everything else wouldnt make much sense.

    Its not possible to make the ServiceUser switching dynamically, I dont even see a reason why you would even want this.
    Austrian NAV/BC Dev
  • mrQQmrQQ Member Posts: 239
    permissions..
  • james_csjames_cs Member Posts: 39
    web services use delegation just like the client.

    Try an experiment - make a web service that writes USERID into a table. It will be your user ID, not the user ID of the account running the NAV service.

    I should say - when you call the web services, it will be your local account if the calling code has a line like this

    ws.UseDefaultCredentials=true;

    otherwise, it will be the credentials specified by the calling application
Sign In or Register to comment.