Ejemplo n.º 1
0
 /// <summary>
 ///     Creates a new user in the database, using information from <paramref name="credential"/>.
 ///     The default schema, if any, is also created with no tables.
 /// </summary>
 /// <parameters>
 /// <param name="rootId">The root identifier.</param>
 /// <param name="rootPassword">The root password.</param>
 /// <param name="credential">Information about the user to create.</param>
 /// </parameters>
 /// <returns>
 ///     True if the user could be created. False if the operation failed.
 /// </returns>
 public virtual bool CreateCredential(string rootId, string rootPassword, ICredential credential)
 {
     return(Connector.CreateCredential(rootId, rootPassword, credential));
 }