static public AdamUser GetAdamUser(string tenantName, string username) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetAdamUser(tenantName, username)); } }
public static ShippingExportDC GetExportContractByNumber(string number) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetExportContractByNumber(number)); } }
public static ShippingExportDC[] FindExportContractList(string numberToMatch, int?status, Guid?owner) { using (BasicChannel channel = new BasicChannel()) { return(channel.FindExportContractList(numberToMatch, status, owner)); } }
static public void RemoveUsersFromRoles(string tenantName, string[] usernames, string[] roleNames) { using (BasicChannel channel = new BasicChannel()) { channel.RemoveUsersFromRoles(tenantName, usernames, roleNames); } }
public static Guid CreateExportContract(string number, Guid creator) { using (BasicChannel channel = new BasicChannel()) { return(channel.CreateExportContract(number, creator)); } }
static public bool IsUserInRole(string tenantName, string username, string roleName) { using (BasicChannel channel = new BasicChannel()) { return(channel.IsUserInRole(tenantName, username, roleName)); } }
static public string[] GetAllRoles(string tenantName) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetAllRoles(tenantName)); } }
static public void Approve(Guid workflowId, Guid objectId, string upn, string comment) { using (BasicChannel channel = new BasicChannel()) { channel.Approve(workflowId, objectId, upn, comment); } }
static public void Reject(Guid workflowId, Guid objectId, string upn, string rejectReason) { using (BasicChannel channel = new BasicChannel()) { channel.Reject(workflowId, objectId, upn, rejectReason); } }
static public void DeleteUser(string tenantName, string username) { using (BasicChannel channel = new BasicChannel()) { channel.DeleteUser(tenantName, username); } }
static public bool ValidateUser(string tenantName, string username, string password) { using (BasicChannel channel = new BasicChannel()) { return(channel.ValidateUser(tenantName, username, password)); } }
static public void CreateUser(string tenantName, string username, string password, string email) { using (BasicChannel channel = new BasicChannel()) { channel.CreateUser(tenantName, username, password, email); } }
static public string GetUpnByUserId(Guid id) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetUpnByUserId(id)); } }
static public Guid GetUserIdByName(string tenantName, string username) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetUserIdByName(tenantName, username)); } }
static public string[] GetUsersInRole(string tenantName, string roleName) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetUsersInRole(tenantName, roleName)); } }
static public void Cancel(Guid workflowId, Guid objectId, string upn) { using (BasicChannel channel = new BasicChannel()) { channel.Cancel(workflowId, objectId, upn); } }
static public bool RoleExists(string tenantName, string roleName) { using (BasicChannel channel = new BasicChannel()) { return(channel.RoleExists(tenantName, roleName)); } }
static public Guid OpenExportProcess(ShippingExportDC dc) { using (BasicChannel channel = new BasicChannel()) { return(channel.OpenExportProcess(dc)); } }
static public void DeleteRole(string tenantName, string roleName) { using (BasicChannel channel = new BasicChannel()) { channel.DeleteRole(tenantName, roleName); } }
static public ExportProcessDC[] GetExportProcessListByStatus(ProcessStatus status) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetExportProcessListByStatus(status)); } }
static public void AddUsersToRoles(string tenantName, string[] usernames, string[] roleNames) { using (BasicChannel channel = new BasicChannel()) { channel.AddUsersToRoles(tenantName, usernames, roleNames); } }
static public ExportProcessDC[] GetExportProcessListByCreator(string creator) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetExportProcessListByCreator(creator)); } }
public static void DeleteExportContract(Guid id) { using (BasicChannel channel = new BasicChannel()) { channel.DeleteExportContract(id); } }
static public ExportProcessDC GetExportProcessbyContractId(Guid contractId) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetExportProcessbyContractId(contractId)); } }
public static ShippingExportDC GetExportContractById(Guid id) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetExportContractById(id)); } }
static public WorkflowAction[] GetSubscribedActions(Guid workflowId) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetSubscribedActions(workflowId)); } }
public static bool ContractExists(string number) { using (BasicChannel channel = new BasicChannel()) { return(channel.ContractExists(number)); } }
static public string[] GetRolesForUser(string tenantName, string username) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetRolesForUser(tenantName, username)); } }
public static void UpdateExportContract(ShippingExportDC contract) { using (BasicChannel channel = new BasicChannel()) { channel.UpdateExportContract(contract); } }
static public string[] FindUsers(string tenantName, string usernameToMatch) { using (BasicChannel channel = new BasicChannel()) { return(channel.FindUsers(tenantName, usernameToMatch)); } }