marp
Nintex Newbie

Regular Expression

Maybe someone is so kind to help me? I want to make a XML-Query to get the Sid (value) of an AD group. I tried it with /defaultNS:GetUserInfo/defaultNS:User/@Sid but I didnt received the desired result. I really would appreciate any help. Thanks in advance!

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <GetUserInfoResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/">
      <GetUserInfoResult>
        <GetUserInfo>
          <User ID="8" Sid="S-1-5-21-725345543-1637723038-000000-000000" Name="DOM\Test" LoginName="DOM\TEST" Email="" Notes="" IsSiteAdmin="False" IsDomainGroup="True" Flags="0" />
        </GetUserInfo>
      </GetUserInfoResult>
    </GetUserInfoResponse>
  </soap:Body>
</soap:Envelope>

0 Kudos
Reply
3 Replies
achilles_aditya
Nintex Newbie

Re: Regular Expression

Reply
emha
Automation Master
Automation Master

Re: Regular Expression

try

//defaultNS:GetUserInfo/defaultNS:User/@Sid
Reply
bamaeric
Nintex Employee
Nintex Employee

Re: Regular Expression

Try this as your expression:

/soap:Envelope/soap:Body/defaultNS:GetUserInfoResponse/defaultNS:GetUserInfoResult/defaultNS:GetUserInfo/defaultNS:User/@Sid
Reply