4.1.4.2.4 DomainNameFromCanonicalName

 procedure DomainNameFromCanonicalName(
   canonicalName: unicodestring): unicodestring 

Given a name in canonical format, this procedure extracts and returns the domain FQDN (1). If the input is not in canonical name format, then null is returned. For example, when the input is "example.fabrikam.com/container/username", the returned domain FQDN (1) is "example.fabrikam.com".

Show: