AnsweredAssumed Answered

Regular Expression

Question asked by marp on Oct 24, 2016
Latest reply on Oct 26, 2016 by bamaeric

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>

Outcomes