GroupSecurityService


Click here for a complete list of operations.

ReadIdentity

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /_tfs_resources/Services/v1.0/GroupSecurityService.asmx HTTP/1.1
Host: dev.pikacom.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schemas.microsoft.com/TeamFoundation/2005/06/Services/GroupSecurity/03/ReadIdentity"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ReadIdentity xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/GroupSecurity/03">
      <factor>None or Sid or AccountName or DistinguishedName or AdministrativeApplicationGroup or ServiceApplicationGroup or EveryoneApplicationGroup</factor>
      <factorValue>string</factorValue>
      <queryMembership>None or Direct or Expanded</queryMembership>
    </ReadIdentity>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ReadIdentityResponse xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/GroupSecurity/03">
      <ReadIdentityResult>
        <Type xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">InvalidIdentity or UnknownIdentityType or WindowsUser or WindowsGroup or ApplicationGroup or Extensible</Type>
        <Sid xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</Sid>
        <DisplayName xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</DisplayName>
        <Description xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</Description>
        <Domain xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</Domain>
        <AccountName xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</AccountName>
        <DistinguishedName xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</DistinguishedName>
        <MailAddress xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</MailAddress>
        <SpecialType xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">Generic or AdministrativeApplicationGroup or ServiceApplicationGroup or EveryoneApplicationGroup or LicenseesApplicationGroup</SpecialType>
        <Deleted xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">boolean</Deleted>
        <Members xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">
          <string>string</string>
          <string>string</string>
        </Members>
        <MemberOf xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">
          <string>string</string>
          <string>string</string>
        </MemberOf>
        <SecurityGroup xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">boolean</SecurityGroup>
      </ReadIdentityResult>
    </ReadIdentityResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /_tfs_resources/Services/v1.0/GroupSecurityService.asmx HTTP/1.1
Host: dev.pikacom.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ReadIdentity xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/GroupSecurity/03">
      <factor>None or Sid or AccountName or DistinguishedName or AdministrativeApplicationGroup or ServiceApplicationGroup or EveryoneApplicationGroup</factor>
      <factorValue>string</factorValue>
      <queryMembership>None or Direct or Expanded</queryMembership>
    </ReadIdentity>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ReadIdentityResponse xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/GroupSecurity/03">
      <ReadIdentityResult>
        <Type xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">InvalidIdentity or UnknownIdentityType or WindowsUser or WindowsGroup or ApplicationGroup or Extensible</Type>
        <Sid xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</Sid>
        <DisplayName xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</DisplayName>
        <Description xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</Description>
        <Domain xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</Domain>
        <AccountName xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</AccountName>
        <DistinguishedName xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</DistinguishedName>
        <MailAddress xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">string</MailAddress>
        <SpecialType xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">Generic or AdministrativeApplicationGroup or ServiceApplicationGroup or EveryoneApplicationGroup or LicenseesApplicationGroup</SpecialType>
        <Deleted xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">boolean</Deleted>
        <Members xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">
          <string>string</string>
          <string>string</string>
        </Members>
        <MemberOf xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">
          <string>string</string>
          <string>string</string>
        </MemberOf>
        <SecurityGroup xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Authorization/03">boolean</SecurityGroup>
      </ReadIdentityResult>
    </ReadIdentityResponse>
  </soap12:Body>
</soap12:Envelope>