More generic way to retrieve web server user