SALES: 1-800-867-1380

List Subscription User Accounts

Updated: March 13, 2015

The List Subscription User Accounts operation lists the user accounts that can access resources in the specified subscription.

The List Subscription User Accounts request may be specified as follows. Replace <subscription-id> with the subscription ID.

 

Method Request URI

GET

https://management.core.windows.net/<subscription-id>/principals

You must make sure that the request that is made to the management service is secure. For additional details, see Authenticating Service Management Requests.

The following table describes the request headers.

 

Request Header Description

x-ms-version

Required. Specifies the version of the operation to use for this request. This header should be set to 2013-08-01 or higher. For more information about versioning headers, see Service Management Versioning.

The response includes an HTTP status code, a set of response headers, and a response body.

A successful operation returns status code 200 (OK). For information about status codes, see Service Management Status and Error Codes.

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers comply with the HTTP/1.1 protocol specification.

 

Response Header Description

x-ms-request-id

A value that uniquely identifies a request made against the management service.

The format of the response body is as follows:


<?xml version="1.0" encoding="utf-8"?>
<Principal xmlns=”http://schemas.microsoft.com/windowsazure”>
  <Role>role-names-for-user-account</Role>
  <Email>email-address-for-user-account</Email>
</Principal>

The following table describes the elements of the response body.

 

Element name Description

Role

Specifies a semi-colon separated list of security roles for a user account.

Possible values are:

  • ServiceAdministrator

  • CoAdministrator

  • AccountAdministrator

Email

Specifies the email address that is associated with the user account.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft