5.84 GetServiceClassFromSPN

 procedure GetServiceClassFromSPN(spn: unicodestring): unicodestring 

The GetServiceClassFromSPN procedure syntactically extracts and returns the service class from a two-part or three-part SPN. The service class is the first part of the SPN. For example, "ldap" is the service class in the two-part SPN "ldap/dc-01.fabrikam.com" and in the three-part SPN "ldap/dc-01.fabrikam.com/fabrikam.com".