获取用户组

最近更新时间:2017-12-21 21:17:58

获取用户组(GetGroup)

描述

返回用户组的用户的列表信息,并且返回用户的基本信息。

请求参数

名称 类型 必填 长度限制 格式 描述
GroupName string 1-128 [\w+=.,@-]+ 用户组名称
Marker string 1-320 [\u0020-\u00FF]+ Marker
MaxItems integer 1-1000 integer 默认值100

返回元素

错误码

错误码 错误信息 HTTP Status Code
GroupNameInvalidParameterValue An invalid or out-of-range value was supplied for the 'GroupName' parameter. 400
GroupNoSuchEntity The request was rejected because it referenced 'Group' that does not exist. The error message describes the entity. 409
ServiceFailure The request processing has failed because of an unknown error, exception or failure. 500

示例

请求示例
返回示例

xml格式

<GetGroupResponse>
    <GetGroupResult>
        <Group>
            <Group>
                <GroupId>KVlmhi9FRhKTCbxBZoa5Fw</GroupId>
                <Path>/</Path>
                <GroupName>admin</GroupName>
                <Description>管理组</Description>
                <CreateDate>2017-11-06T10:01:19Z</CreateDate>
                <Krn>krn:ksc:iam::2000000719:group/admin</Krn>
            </Group>
            <Users>
                <Item>
                    <UserId>v5saAmquTumE6iLhU5yIoQ</UserId>
                    <Path></Path>
                    <UserName>iam</UserName>
                    <RealName>测试</RealName>
                    <CreateDate>2017-11-06T06:21:43Z</CreateDate>
                    <Phone>18612708815</Phone>
                    <Email>rjlz@163.com</Email>
                    <PhoneVerified>No</PhoneVerified>
                    <EmailVerified>No</EmailVerified>
                    <Remark></Remark>
                    <Krn>krn:ksc:iam::2000000719:user/iam</Krn>
                    <PasswordResetRequired>1</PasswordResetRequired>
                </Item>
            </Users>
            <IsTruncated></IsTruncated>
        </Group>
    </GetGroupResult>
    <ResponseMetadata>
        <RequestId>ffb1cf4e-db6d-4d1c-b609-4ba8c4828ccf</RequestId>
    </ResponseMetadata>
</GetGroupResponse>

json格式

金山云,开启您的云计算之旅

立即注册