lib/iam/right_iam_users.rb
# Deletes the specified policy associated with the specified User.
#
#  iam.delete_user_policy('kd','kd_user_policy_1') #=> true
#
Deletes the specified policy associated with the specified User.
Deletes the specified policy associated with the specified User .
def delete_user_policy(user_name, policy_name)
      request_hash = { 'UserName'   => user_name,
                       'PolicyName' => policy_name }
      link = generate_request("DeleteUserPolicy", request_hash)
      request_info(link, RightHttp2xxParser.new(:logger => @logger))
    end
def delete_user_policy ( user_name , policy_name ) request_hash = { 'UserName' => user_name , 'PolicyName' => policy_name } link = generate_request ( "DeleteUserPolicy" , request_hash ) request_info ( link , RightHttp2xxParser . new ( :logger => @logger ) ) end
Deletes the specified policy associated with the specified User.
Deletes the specified policy associated with the specified User .
user_name
<not_specific>
policy_name
<not_specific>