Click or drag to resize

LoyaltyClientSelectMemberBySecurityAccountRSN Method

Return the Member Details from the submitted Security Account RSN.

Syntax
C#
public ResultOfMember SelectMemberBySecurityAccountRSN(
	ManagementGroupRequestOfguid request
)

Parameters

request
Type: LoyaltyServiceManagementGroupRequestOfguid

Return Value

Type: ResultOfMember
Examples
C#
using (var svc = new LoyaltyService.LoyaltyClient())
{
  var request = new LoyaltyService.ManagementGroupRequestOfguid();
  request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin
  request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin
  request.Value = new Guid("e3eabc90-beae-4a44-b1a3-9e435dcc816d");;//Required - RSN of security account

  LoyaltyService.ResultOfMember result = svc.SelectMemberBySecurityAccountRSN(request);

  if (result.FaultCode == 0)
  {
    //Request succeeded
  }
  else
  {
    //Request failed
    throw new Exception(result.FaultDescription);
  }
}
See Also