예제 #1
0
        /// <summary>
        /// Query for Users
        /// </summary>
        /// <param name="accountId">the account Id intended on the request</param>
        /// <returns>the retrieved UsersFeed</returns>
        public UsersFeed QueryUsers(string accountId)
        {
            UsersQuery query = new UsersQuery();

            query.AccountId = accountId;
            return(QueryUsers(query));
        }
예제 #2
0
        /// <summary>
        /// Query for Users
        /// </summary>
        /// <param name="feedQuery">The UsersQuery to use</param>
        /// <returns>the retrieved UsersFeed</returns>
        public UsersFeed QueryUsers(UsersQuery feedQuery)
        {
            if (feedQuery.AccountId == null)
            {
                feedQuery.AccountId = AccountId;
            }

            return(base.Query(feedQuery) as UsersFeed);
        }