Community articleRetrieving a community member programmatically
Added by IBM contributorIBM | Edited by Elizabeth J Bowling on November 1, 2016
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.

Input
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
communityUuid
string No The UUID of the community to which the member belongs.
memberid
string No The short ID of the member you wish to retrieve.
Output
Content Type: application/atom+xml
Code Description
200
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.
400
Bad Request.
403
Forbidden.
404
Not Found.
401
Unauthorized. Returned when the request did not include proper authentication credentials.