All Products
Search
Document Center

Blockchain as a Service:DescribeFabricOrganizationUsers

Last Updated:Aug 18, 2023

You can call this operation to query the user list of the organization.

Debugging

You can call this operation in OpenAPI Explorer without the need to manually calculate the signature. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

ParameterTypeRequiredExampleDescription
ActionStringYesDescribeFabricOrganizationUsers

The operation that you want to perform. Set the value to DescribeFabricOrganizationUsers.

OrganizationIdStringYespeers-aaaaaa2-1eqnj5o5w****

The ID of the organization.

LocationStringNocn-hangzhou

The location.

RegionIdStringNocn-hangzhou

The ID of the region.

Response parameters

ParameterTypeExampleDescription
ErrorCodeInteger200

The error code.

RequestIdString1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

The ID of the API request.

Result

The users of an organization.

AttrsStringfoo=foo1,bar=bar1

The ABAC properties.

CallerBidString26842

The business ID of the caller.

CallerUidLong11111111****

The user ID of the caller.

CreateTimeString1533025590

The creation time.

ExpireTimeString1533025590

The time when the user expires.

FullNameStringname

The full name of the user.

OrganizationIdStringpeers-aaaaaa2-1eqnj5o5w9dt3

The ID of the organization.

RegionIdStringcn-hangzhou

The ID of the region.

UsernameStringusername

The name of the user.

SuccessBooleantrue

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeFabricOrganizationUsers
&OrganizationId=peers-aaaaaa2-1eqnj5o5w****
&<Common request parameters>

Successful response examples

XML format

<DescribeFabricOrganizationUsersResponse>
	  <result>
		    <Attrs>foo=foo1,bar=bar1</Attrs>
		    <Username>username</Username>
		    <OrganizationId>peers-aaaaaa2-1eqnj5o5w9dt3</OrganizationId>
		    <ChannelName>mychannel</ChannelName>
		    <CreateTime>1544411108000</CreateTime>
		    <ExpireTime>1544411108000</ExpireTime>
		    <CallerBid>26842</CallerBid>
		    <CallerUid>212</CallerUid>
	  </result>
	  <RequestId>2537DB1B-F478-431E-A847-5DDAAE2BD251</RequestId>
	  <ErrorCode>200</ErrorCode>
	  <Success>true</Success>
</DescribeFabricOrganizationUsersResponse>

JSON format

{
	"result":{
		"CallerUid":212,
		"ExpireTime":"1544411108000",
		"CreateTime":"1544411108000",
		"Username":"username",
		"Attrs":"foo=foo1,bar=bar1",
		"CallerBid":"26842",
		"ChannelName":"mychannel",
		"OrganizationId":"peers-aaaaaa2-1eqnj5o5w9dt3"
	},
	"RequestId":"2537DB1B-F478-431E-A847-5DDAAE2BD251",
	"Success":true,
	"ErrorCode":200
}

Error codes

For more information about error codes, see Error codes.