public TridentExecutor(TridentManager manager)
        {
            this.registryConnection = manager.registryConnection;
            this.user = manager.User;

            //// Initializing the trident api object
            tridentApi = new InstanceAPI(registryConnection);
        }
 public TridentModelBuilder(SR.Connection registryConn, SR.User user)
 {
     this.registryConnection = registryConn;
     activityComposer = new ActivityComposer(registryConnection, false);
     this.user = user;
 }
 private void InitializeConnectors()
 {
     InitializeRegistry();
     AuthenticateConnector();
     TridentHelper = new SVC.UIDesigner.UIHelper(this.registryConnection);
     WorklfowService = new WorkflowManagerService(this.registryConnection);
     RegistryService = new RegistryManagerService(this.registryConnection);
     CategoriesComposer.CreateUser(TridentAuthentication.LoggedUserInUserName, registryConnection);
     this.User = TridentAuthentication.LoggedInUser; //put else where so we don't auth multiple times?
     tridentAPI = new InstanceAPI(registryConnection);
 }