コード例 #1
0
        public static void UpdateRegisteredUserIcon(string userName, byte[] userIcon)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            try
            {
                svc.UpdateRegisteredUserIcon(userName, userIcon);
            }
            catch (Exception ex)
            {
            }
        }
コード例 #2
0
        public static void UpdateOrganizationProperties(string name, KeyValue[] list)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            try
            {
                svc.UpdateOrganizationProperties(name, list);
            }

            catch (Exception ex)
            {}
        }
コード例 #3
0
        public static void RemoveDelegation(string delegationID)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            try
            {
                svc.RemoveDelegation(delegationID);
            }

            catch (Exception ex)
            {}
        }
コード例 #4
0
        public static void RegisterUser(RegisteredUser user)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            try
            {
                svc.RegisterUser(user);
            }
            catch (Exception ex)
            {
            }
        }
コード例 #5
0
        public void UnregisterUser(string userName)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            try
            {
                svc.UnregisterUser(userName);
            }
            catch (Exception ex)
            {
            }
        }
コード例 #6
0
        public static void RemoveOrganizationProperties(string name)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            try
            {
                svc.RemoveOrganizationProperties(name);
            }

            catch (Exception ex)
            {}
        }
コード例 #7
0
        public static void RemoveGroupMember(string groupName, string userName)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            try
            {
                svc.RemoveGroupMember(groupName, userName);
            }

            catch (Exception ex)
            {}
        }
コード例 #8
0
        public static void RemoveRole(string roleName)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            try
            {
                svc.RemoveRole(roleName);
            }

            catch (Exception ex)
            {}
        }
コード例 #9
0
        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)
            {}
        }
コード例 #10
0
        public static WFDelegation GetDelegation(string delegationID)
        {
            IWFAdminService svc        = Common.GetAdminAPI();
            WFDelegation    delegation = null;

            try
            {
                delegation = svc.GetDelegation(delegationID);
            }
            catch (Exception ex)
            { }
            return(delegation);
        }
コード例 #11
0
        public static WFRole GetRole(string roleName)
        {
            IWFAdminService svc  = Common.GetAdminAPI();
            WFRole          role = null;

            try
            {
                role = svc.GetRole(roleName);
            }
            catch (Exception ex)
            { }
            return(role);
        }
コード例 #12
0
        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);
        }
コード例 #13
0
        public static KeyValue[] GetOrganizationProperties(string name)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            KeyValue[] organizationProperties = null;
            try{
                organizationProperties =
                    svc.GetOrganizationProperties(name);
            }
            catch (Exception ex)
            {}
            return(organizationProperties);
        }
コード例 #14
0
        public static WFDelegation UpdateDelegation(WFDelegation delegation)
        {
            IWFAdminService svc = Common.GetAdminAPI();
            WFDelegation    updatedDelegation = null;

            try
            {
                updatedDelegation = svc.UpdateDelegation(delegation);
            }

            catch (Exception ex)
            {}
            return(updatedDelegation);
        }
コード例 #15
0
        public static RegisteredUser[] QueryRegisterUsers(string sqlWhereClause)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            RegisteredUser[] registeredUsers = null;
            try
            {
                registeredUsers = svc.QueryRegisterUsers(sqlWhereClause);
            }
            catch (Exception ex)
            {
            }
            return(registeredUsers);
        }
コード例 #16
0
        public static string GetDomainName()
        {
            IWFAdminService svc        = Common.GetAdminAPI();
            string          domainName = null;

            try
            {
                domainName = svc.GetDomainName();
            }
            catch (Exception ex)
            {
            }
            return(domainName);
        }
コード例 #17
0
        public static WFGroupMember[] GetGroupMembers(string groupName)
        {
            IWFAdminService svc = Common.GetAdminAPI();

            WFGroupMember[] grpMembers = null;
            try
            {
                grpMembers = svc.GetGroupMembers(groupName);
            }

            catch (Exception ex)
            { }
            return(grpMembers);
        }
コード例 #18
0
        public static string GetSystemUser()
        {
            IWFAdminService svc        = Common.GetAdminAPI();
            string          systemUser = string.Empty;

            try
            {
                systemUser = svc.GetSystemUser();
            }
            catch (Exception ex)
            {
            }
            return(systemUser);
        }
コード例 #19
0
        public static WFGroup[] GetGroups()
        {
            IWFAdminService svc = Common.GetAdminAPI();

            WFGroup[] apGroups = null;
            try
            {
                apGroups = svc.GetGroups();
            }
            catch (Exception ex)
            {
            }
            return(apGroups);
        }
コード例 #20
0
        public static WFRole[] GetRoles()
        {
            IWFAdminService svc = Common.GetAdminAPI();

            WFRole[] roles = null;
            try
            {
                roles = svc.GetRoles();
            }

            catch (Exception ex)
            { }
            return(roles);
        }
コード例 #21
0
        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);
        }
コード例 #22
0
        public static RegisteredUser[] GetRegisterUsers()
        {
            IWFAdminService svc = Common.GetAdminAPI();

            RegisteredUser[] registerUsers = null;
            try
            {
                registerUsers = svc.GetRegisterUsers();
            }
            catch (Exception ex)
            {
            }
            return(registerUsers);
        }
コード例 #23
0
        public static DatabaseInfo GetDatabaseInfo()
        {
            IWFAdminService svc    = Common.GetAdminAPI();
            DatabaseInfo    dbInfo = null;

            try
            {
                dbInfo = svc.GetDatabaseInfo();
            }
            catch (Exception ex)
            {
            }
            return(dbInfo);
        }
コード例 #24
0
        public static WFGroup GetGroup(string groupName)
        {
            IWFAdminService svc     = Common.GetAdminAPI();
            WFGroup         grpInfo = null;

            try
            {
                grpInfo = svc.GetGroup(groupName);
            }
            catch (Exception ex)
            {
            }
            return(grpInfo);
        }
コード例 #25
0
        public static string GetLocale()
        {
            IWFAdminService svc    = Common.GetAdminAPI();
            string          locale = string.Empty;

            try
            {
                locale = svc.GetLocale();
            }
            catch (Exception ex)
            {
            }
            return(locale);
        }
コード例 #26
0
        public static RegisteredUser GetRegisterUser(string userName)
        {
            IWFAdminService svc          = Common.GetAdminAPI();
            RegisteredUser  registerUser = null;

            try
            {
                registerUser =
                    svc.GetRegisterUser(userName);
            }
            catch (Exception ex)
            {
            }
            return(registerUser);
        }
コード例 #27
0
        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);
        }
コード例 #28
0
        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);
        }
コード例 #29
0
        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);
        }
コード例 #30
0
        public static WFSysPerfInfo GetSysPerfInfo()
        {
            IWFAdminService svc         = Common.GetAdminAPI();
            WFSysPerfInfo   sysPerfInfo = null;

            try
            {
                sysPerfInfo = svc.GetSysPerfInfo();
            }

            catch (Exception ex)
            {
            }
            return(sysPerfInfo);
        }