/// <summary>
 /// Returns the list of users who have been banned from the application.
 /// </summary>
 /// <example>
 /// <code>
 /// /// private static void RunDemoAsync()
 /// {
 ///     Api api = new Api(new FBMLCanvasSession(Constants.WebApplicationKey, Constants.WebSecret));
 ///     api.Session.UserId = Constants.UserId;
 ///     List&lt;long&gt; uids = new List&lt;long&gt; { 1000001, 1000002 };
 ///     api.Admin.GetBannedUsersAsync(uids, AsyncDemoCompleted, null);
 /// }
 /// 
 /// private static void AsyncDemoCompleted(IList&lt;long&gt; result, Object state, FacebookException e)
 /// {
 ///     var actual = result;
 /// }
 /// </code>
 /// </example>
 /// <param name="uids">A List of user IDs used to filter the result. The only user IDs that are returned in uids are those of banned users.</param>
 /// <param name="callback">The AsyncCallback delegate</param>
 /// <param name="state">An object containing state information for this asynchronous request</param>        
 /// <returns>An List of user IDs from banned users.</returns>
 public void GetBannedUsersAsync(List<long> uids, GetBannedUsersCallback callback, Object state)
 {
     GetBannedUsers(uids, true, callback, state);
 }
        private IList<long> GetBannedUsers(List<long> uids, bool isAsync, GetBannedUsersCallback callback, Object state)
        {
            var parameterList = new Dictionary<string, string> { { "method", "facebook.admin.getBannedUsers" } };
            Utilities.AddJSONArray(parameterList, "uids", uids);

            if (isAsync)
            {
               		SendRequestAsync<admin_getBannedUsers_response, IList<long>>(parameterList, !string.IsNullOrEmpty(Session.SessionKey), new FacebookCallCompleted<IList<long>>(callback), state, "uid");
                return null;
            }

            var response = SendRequest<admin_getBannedUsers_response>(parameterList, !string.IsNullOrEmpty(Session.SessionKey));
            return response == null ? null : response.uid;
        }
 /// <summary>
 /// Returns the list of users who have been banned from the application.
 /// </summary>
 /// <example>
 /// <code>
 /// private static void RunDemoAsync()
 /// {
 ///     Api api = new Api(new FBMLCanvasSession(Constants.WebApplicationKey, Constants.WebSecret));
 ///     api.Session.UserId = Constants.UserId;
 ///     api.Admin.GetBannedUsersAsync(AsyncDemoCompleted, null);
 /// }
 /// 
 /// private static void AsyncDemoCompleted(IList&lt;long&gt; result, Object state, FacebookException e)
 /// {
 ///     var actual = result;
 /// }
 /// </code>
 /// </example>
 /// <param name="callback">The AsyncCallback delegate</param>
 /// <param name="state">An object containing state information for this asynchronous request</param>        
 /// <returns>An List of user IDs from banned users.</returns>
 public void GetBannedUsersAsync(GetBannedUsersCallback callback, Object state)
 {
     GetBannedUsersAsync(null, callback, state);
 }