According to registry guidelines, domain roles are assigned initially during the registration process by the domain registrant, whose details can be viewed publicly using a WHOIS lookup.
The domain contact details provide information about the domain owner and the domain's assigned name servers.