def clear_permissions(account_href, client, options={})
      options = {:dry_run => false}.merge(options)
      current_permissions = get_api_permissions(account_href)
      if options[:dry_run]
        Hash[current_permissions.map{|p| [p.href, p.role_title]}]
      else
        retval = RsUserPolicy::RightApi::PermissionUtilities.destroy_permissions(
          current_permissions,
          client
        )
        @permissions.delete(account_href)
        retval
      end
    end
def clear_permissions(account_href, client, options={})
      options = {:dry_run => false}.merge(options)
      current_permissions = get_api_permissions(account_href)
      if options[:dry_run]
        Hash[current_permissions.map{|p| [p.href, p.role_title]}]
      else
        retval = RsUserPolicy::RightApi::PermissionUtilities.destroy_permissions(
          current_permissions,
          client
        )
        @permissions.delete(account_href)
        retval
      end
    end
Removes all permissions for the user in the specified rightscale account using the supplied client

 @param [String] account_href The RightScale API href of the account
 @param [RightApi::Client] client An active RightApi::Client instance for the account referenced in account_href
 @param [Hash] options Optional parameters
 @option options [Bool] :dry_run If true, no API calls will be made, but the return value will contain the actions which would have been taken

 @raise [RightApi::ApiError] If an unrecoverable API error has occurred.

 @return [Hash] A hash where the keys are the permission hrefs destroyed, and the keys are the role_title of those permissions