code: function(owner, app) {
              return new Service(this.http, {
                  scheme: this.scheme,
                  host: this.host,   
                  port: this.port,       
                  username: this.username,
                  password: this.password,
                  owner: owner,
                  app: app, 
                  sessionKey: this.sessionKey,
                  version: this.version
              });
          }
docs: Creates a specialized version of the current `Service` instance for
  a specific namespace context.
  
  @example
  
  var svc = ...;
  var newService = svc.specialize("myuser", "unix");
  
  @param {String} owner The Splunk username, such as "admin". A value of "nobody" means no specific user. The "-" wildcard means all users.
  @param {String} app The app context for this resource (such as "search"). The "-" wildcard means all apps.
  @return {splunkjs.Service} The specialized `Service` instance.
  
  @method splunkjs.Service