OpenDOF Project
DOFObjectIDDomain DOFCredentials_GetDomainID ( const DOFCredentials  self)

Returns the domain in which the credentials are valid.

This may return the broadcast ID if the credentials were created without a specific domain ID and have not yet been resolved. After the credentials are resolved (DOFCredentials_IsResolved has returned true), this will always return a specific domain ID.

Lifecycle
The data returned is owned by the DOFCredentials and is only valid as long as the DOFCredentials remains valid. It must not be destroyed individually.
Parameters
selfThe DOFCredentials. This must not be NULL.
Returns
The domain of the credentials, which may be BROADCAST if the user did not specify a domain and the credentials are not yet resolved.
See Also
DOF_ResolveCredentials
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22