public static void UpdateRegisteredUserIcon(string userName, byte[] userIcon) { IWFAdminService svc = Common.GetAdminAPI(); try { svc.UpdateRegisteredUserIcon(userName, userIcon); } catch (Exception ex) { } }
public static void UpdateOrganizationProperties(string name, KeyValue[] list) { IWFAdminService svc = Common.GetAdminAPI(); try { svc.UpdateOrganizationProperties(name, list); } catch (Exception ex) {} }
public static void RemoveDelegation(string delegationID) { IWFAdminService svc = Common.GetAdminAPI(); try { svc.RemoveDelegation(delegationID); } catch (Exception ex) {} }
public static void RegisterUser(RegisteredUser user) { IWFAdminService svc = Common.GetAdminAPI(); try { svc.RegisterUser(user); } catch (Exception ex) { } }
public void UnregisterUser(string userName) { IWFAdminService svc = Common.GetAdminAPI(); try { svc.UnregisterUser(userName); } catch (Exception ex) { } }
public static void RemoveOrganizationProperties(string name) { IWFAdminService svc = Common.GetAdminAPI(); try { svc.RemoveOrganizationProperties(name); } catch (Exception ex) {} }
public static void RemoveGroupMember(string groupName, string userName) { IWFAdminService svc = Common.GetAdminAPI(); try { svc.RemoveGroupMember(groupName, userName); } catch (Exception ex) {} }
public static void RemoveRole(string roleName) { IWFAdminService svc = Common.GetAdminAPI(); try { svc.RemoveRole(roleName); } catch (Exception ex) {} }
public static void RemoveRoleMember(string roleName, string assignee, string assigneeType, string objectID) { IWFAdminService svc = Common.GetAdminAPI(); try { svc.RemoveRoleMember(roleName, assignee, assigneeType, null); } catch (Exception ex) {} }
public static WFDelegation GetDelegation(string delegationID) { IWFAdminService svc = Common.GetAdminAPI(); WFDelegation delegation = null; try { delegation = svc.GetDelegation(delegationID); } catch (Exception ex) { } return(delegation); }
public static WFRole GetRole(string roleName) { IWFAdminService svc = Common.GetAdminAPI(); WFRole role = null; try { role = svc.GetRole(roleName); } catch (Exception ex) { } return(role); }
public static WFRoleMember[] QueryRoleMembers(string roleName, string sql) { IWFAdminService svc = Common.GetAdminAPI(); WFRoleMember[] roleMembers = null; try { roleMembers = svc.QueryRoleMembers(roleName, sql); } catch (Exception ex) { } return(roleMembers); }
public static KeyValue[] GetOrganizationProperties(string name) { IWFAdminService svc = Common.GetAdminAPI(); KeyValue[] organizationProperties = null; try{ organizationProperties = svc.GetOrganizationProperties(name); } catch (Exception ex) {} return(organizationProperties); }
public static WFDelegation UpdateDelegation(WFDelegation delegation) { IWFAdminService svc = Common.GetAdminAPI(); WFDelegation updatedDelegation = null; try { updatedDelegation = svc.UpdateDelegation(delegation); } catch (Exception ex) {} return(updatedDelegation); }
public static RegisteredUser[] QueryRegisterUsers(string sqlWhereClause) { IWFAdminService svc = Common.GetAdminAPI(); RegisteredUser[] registeredUsers = null; try { registeredUsers = svc.QueryRegisterUsers(sqlWhereClause); } catch (Exception ex) { } return(registeredUsers); }
public static string GetDomainName() { IWFAdminService svc = Common.GetAdminAPI(); string domainName = null; try { domainName = svc.GetDomainName(); } catch (Exception ex) { } return(domainName); }
public static WFGroupMember[] GetGroupMembers(string groupName) { IWFAdminService svc = Common.GetAdminAPI(); WFGroupMember[] grpMembers = null; try { grpMembers = svc.GetGroupMembers(groupName); } catch (Exception ex) { } return(grpMembers); }
public static string GetSystemUser() { IWFAdminService svc = Common.GetAdminAPI(); string systemUser = string.Empty; try { systemUser = svc.GetSystemUser(); } catch (Exception ex) { } return(systemUser); }
public static WFGroup[] GetGroups() { IWFAdminService svc = Common.GetAdminAPI(); WFGroup[] apGroups = null; try { apGroups = svc.GetGroups(); } catch (Exception ex) { } return(apGroups); }
public static WFRole[] GetRoles() { IWFAdminService svc = Common.GetAdminAPI(); WFRole[] roles = null; try { roles = svc.GetRoles(); } catch (Exception ex) { } return(roles); }
public static WFRole UpdateRole(string roleName, string description, int[] rights, bool enabled) { IWFAdminService svc = Common.GetAdminAPI(); WFRole updatedRole = null; try { updatedRole = svc.UpdateRole(roleName, description, rights, true); } catch (Exception ex) {} return(updatedRole); }
public static RegisteredUser[] GetRegisterUsers() { IWFAdminService svc = Common.GetAdminAPI(); RegisteredUser[] registerUsers = null; try { registerUsers = svc.GetRegisterUsers(); } catch (Exception ex) { } return(registerUsers); }
public static DatabaseInfo GetDatabaseInfo() { IWFAdminService svc = Common.GetAdminAPI(); DatabaseInfo dbInfo = null; try { dbInfo = svc.GetDatabaseInfo(); } catch (Exception ex) { } return(dbInfo); }
public static WFGroup GetGroup(string groupName) { IWFAdminService svc = Common.GetAdminAPI(); WFGroup grpInfo = null; try { grpInfo = svc.GetGroup(groupName); } catch (Exception ex) { } return(grpInfo); }
public static string GetLocale() { IWFAdminService svc = Common.GetAdminAPI(); string locale = string.Empty; try { locale = svc.GetLocale(); } catch (Exception ex) { } return(locale); }
public static RegisteredUser GetRegisterUser(string userName) { IWFAdminService svc = Common.GetAdminAPI(); RegisteredUser registerUser = null; try { registerUser = svc.GetRegisterUser(userName); } catch (Exception ex) { } return(registerUser); }
public static WFRoleMember AddRoleMember(string roleName, string assignee, string assigneeType, string clientData, string objectID, string objectType) { IWFAdminService svc = Common.GetAdminAPI(); WFRoleMember member = null; try { member = svc.AddRoleMember(roleName, assignee, assigneeType, clientData, objectID, objectType); } catch (Exception ex) { } return(member); }
public static WFGroupMember EnabledGroupMember(string groupName, string userName, bool enabled) { IWFAdminService svc = Common.GetAdminAPI(); WFGroupMember GroupMember = null; try { GroupMember = svc.EnabledGroupMember(groupName, userName, enabled); } catch (Exception ex) { } return(GroupMember); }
public static WFDelegation[] GetDelegations(string fromUser, string toUser, string status) { IWFAdminService svc = Common.GetAdminAPI(); WFDelegation[] delegations = null; try { delegations = svc.GetDelegations(fromUser, toUser, status); } catch (Exception ex) {} return(delegations); }
public static WFSysPerfInfo GetSysPerfInfo() { IWFAdminService svc = Common.GetAdminAPI(); WFSysPerfInfo sysPerfInfo = null; try { sysPerfInfo = svc.GetSysPerfInfo(); } catch (Exception ex) { } return(sysPerfInfo); }