Adds Credentials to the ServerConfigBuiler for the given domain. 
If the domainID is NULL the domain will be pulled from the given Credentials.
- Parameters
 - 
  
    | self | The ServerConfigBuiler to add the credentials to. If self is NULL, no action will be taken.  | 
    | credentials | The Credentials to add. If credentials is NULL, no credentials will be used. | 
  
   
- Return values
 - 
  
    | Non-Zero | (TRUE) if the credentials were added successfully.  | 
  
   
- Exceptions
 - 
  
    | Zero | (FALSE) is returned if an invalid parameter was detected or insufficient resources were available to add the credentials.  |