private void BuildPJOContext(PJOForm argForm) { SecureString securePassword = new SecureString(); foreach (char c in argForm.Password.ToCharArray()) { securePassword.AppendChar(c); } this.projContext = new ProjectContext(argForm.Url); SharePointOnlineCredentials cred = new SharePointOnlineCredentials(argForm.Account, securePassword); projContext.Credentials = cred; }
public AbstractPJOMgmt(PJOForm arg) { Param = new EventParameter(); Param.Form = arg; Param.Util = new PJOUtil(arg); }
public PJOUtil(PJOForm argForm) { BuildPJOContext(argForm); }
public O365QueJob(PJOForm arg) : base(arg) { }
public ResourceRetriever(PJOForm arg) : base(arg) { }
public CorrelationTest(PJOForm arg) : base(arg) { }
public BulkAssignmentRetriever(PJOForm arg) : base(arg) { }
public ResourceCost(PJOForm arg) : base(arg) { }
public ProjectForceCheckIn(PJOForm arg) : base(arg) { }
public EnterpriseResourcesRetriever(PJOForm arg) : base(arg) { }
public DeleteEnterpriseResource(PJOForm arg) : base(arg) { resourceTestInfo = Param.Form.TestData; }
public CreateEnterpriseResource(PJOForm param) : base(param) { resourceTestInfo = Param.Form.TestData; }