Beispiel #1
0
 static public AdamUser GetAdamUser(string tenantName, string username)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetAdamUser(tenantName, username));
     }
 }
Beispiel #2
0
 public static ShippingExportDC GetExportContractByNumber(string number)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetExportContractByNumber(number));
     }
 }
Beispiel #3
0
 public static ShippingExportDC[] FindExportContractList(string numberToMatch, int?status, Guid?owner)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.FindExportContractList(numberToMatch, status, owner));
     }
 }
Beispiel #4
0
 static public void RemoveUsersFromRoles(string tenantName, string[] usernames, string[] roleNames)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         channel.RemoveUsersFromRoles(tenantName, usernames, roleNames);
     }
 }
Beispiel #5
0
 public static Guid CreateExportContract(string number, Guid creator)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.CreateExportContract(number, creator));
     }
 }
Beispiel #6
0
 static public bool IsUserInRole(string tenantName, string username, string roleName)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.IsUserInRole(tenantName, username, roleName));
     }
 }
Beispiel #7
0
 static public string[] GetAllRoles(string tenantName)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetAllRoles(tenantName));
     }
 }
Beispiel #8
0
 static public void Approve(Guid workflowId, Guid objectId, string upn, string comment)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         channel.Approve(workflowId, objectId, upn, comment);
     }
 }
Beispiel #9
0
 static public void Reject(Guid workflowId, Guid objectId, string upn, string rejectReason)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         channel.Reject(workflowId, objectId, upn, rejectReason);
     }
 }
Beispiel #10
0
 static public void DeleteUser(string tenantName, string username)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         channel.DeleteUser(tenantName, username);
     }
 }
Beispiel #11
0
 static public bool ValidateUser(string tenantName, string username, string password)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.ValidateUser(tenantName, username, password));
     }
 }
Beispiel #12
0
 static public void CreateUser(string tenantName, string username, string password, string email)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         channel.CreateUser(tenantName, username, password, email);
     }
 }
Beispiel #13
0
 static public string GetUpnByUserId(Guid id)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetUpnByUserId(id));
     }
 }
Beispiel #14
0
 static public Guid GetUserIdByName(string tenantName, string username)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetUserIdByName(tenantName, username));
     }
 }
Beispiel #15
0
 static public string[] GetUsersInRole(string tenantName, string roleName)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetUsersInRole(tenantName, roleName));
     }
 }
Beispiel #16
0
 static public void Cancel(Guid workflowId, Guid objectId, string upn)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         channel.Cancel(workflowId, objectId, upn);
     }
 }
Beispiel #17
0
 static public bool RoleExists(string tenantName, string roleName)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.RoleExists(tenantName, roleName));
     }
 }
Beispiel #18
0
 static public Guid OpenExportProcess(ShippingExportDC dc)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.OpenExportProcess(dc));
     }
 }
Beispiel #19
0
 static public void DeleteRole(string tenantName, string roleName)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         channel.DeleteRole(tenantName, roleName);
     }
 }
Beispiel #20
0
 static public ExportProcessDC[] GetExportProcessListByStatus(ProcessStatus status)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetExportProcessListByStatus(status));
     }
 }
Beispiel #21
0
 static public void AddUsersToRoles(string tenantName, string[] usernames, string[] roleNames)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         channel.AddUsersToRoles(tenantName, usernames, roleNames);
     }
 }
Beispiel #22
0
 static public ExportProcessDC[] GetExportProcessListByCreator(string creator)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetExportProcessListByCreator(creator));
     }
 }
Beispiel #23
0
 public static void DeleteExportContract(Guid id)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         channel.DeleteExportContract(id);
     }
 }
Beispiel #24
0
 static public ExportProcessDC GetExportProcessbyContractId(Guid contractId)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetExportProcessbyContractId(contractId));
     }
 }
Beispiel #25
0
 public static ShippingExportDC GetExportContractById(Guid id)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetExportContractById(id));
     }
 }
Beispiel #26
0
 static public WorkflowAction[] GetSubscribedActions(Guid workflowId)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetSubscribedActions(workflowId));
     }
 }
Beispiel #27
0
 public static bool ContractExists(string number)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.ContractExists(number));
     }
 }
Beispiel #28
0
 static public string[] GetRolesForUser(string tenantName, string username)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.GetRolesForUser(tenantName, username));
     }
 }
Beispiel #29
0
 public static void UpdateExportContract(ShippingExportDC contract)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         channel.UpdateExportContract(contract);
     }
 }
Beispiel #30
0
 static public string[] FindUsers(string tenantName, string usernameToMatch)
 {
     using (BasicChannel channel = new BasicChannel())
     {
         return(channel.FindUsers(tenantName, usernameToMatch));
     }
 }