Community articleRetrieving a community member programmatically
Added by IBM contributorIBM on March 27, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To retrieve a member from the access control list for a application, use the edit link found in the member entry in the ACL list feed.
Tags: commapi
You can use this operation to obtain member entry information that you want to preserve prior to performing an update. The request returns an Atom entry document that contains the member entry.

See Updating community members for more information.

Method URI Description
GET /communities/service/atom2/acl The web address returned in the HTTP location header when the member entry was created.
Value of the href attribute of the <link> element with the rel="edit" attribute value for each acl node entry in the acl list feed.
Name Type Optional Description
string No The UUID of the community to which the member belongs.
string No The ID of the member you wish to retrieve.
Content Type: application/atom+xml
Code Description
OK. Indicates that the member entry was successfully found and returned. If an error occurs, this header will contain one of the error codes below.
Bad Request.
Not Found.
Unauthorized. Returned when the request did not include proper authentication credentials.