コード例 #1
0
        public List <UserAccount> GetUserAccounts(List <UUID> scopeIDs, string query)
        {
            object remoteValue = DoRemoteByURL("UserAccountServerURI", scopeIDs, query);

            if (remoteValue != null || m_doRemoteOnly)
            {
                return((List <UserAccount>)remoteValue);
            }

            UserAccount[] d = m_Database.GetUsers(scopeIDs, query);

            if (d == null)
            {
                return(new List <UserAccount>());
            }

            List <UserAccount> ret = new List <UserAccount>(d);

            return(ret);
        }
コード例 #2
0
        public List <UserAccount> GetUserAccounts(UUID scopeID, string query)
        {
            UserAccount[] d = m_Database.GetUsers(scopeID, query);

            if (d == null)
            {
                return(new List <UserAccount>());
            }

            List <UserAccount> ret = new List <UserAccount>(d);

            return(ret);
        }