I just wanted to know, is there a way to access NAV server instance information withing C/AL coding. Mainly I want read service account name and password.
Please, have a look at the information found at Read Server Settings from C/AL code.
I am not sure if you can find the information you are looking for directly from the dotnet object described there, but I am petty sure, you can use some other dotnet functionality in connection with information provided from it to get the service user.
And I agree with Duikmeester
Answers
I am not sure if you can find the information you are looking for directly from the dotnet object described there, but I am petty sure, you can use some other dotnet functionality in connection with information provided from it to get the service user.
And I agree with Duikmeester