code: function(roleName)
          {
  
              if(this.roles.hasOwnProperty(roleName)){
                  return this.roles.roleName;
              }
              for(var i in this.apps){                
                  if( this.apps[i].roles.hasOwnProperty(roleName) ){
                      this.roles.push(this.apps[i].roles[roleName]);
                      return this.apps[i].roles[roleName];
                  }
              }
          }
docs: This is an alias of {@link openbiz.services.ObjectService.getRole}
  @memberof openbiz.objects.Application
  @method
  @instance
  @see {@link openbiz.services.ObjectService.getRole}