Click or drag to resize
UserConfiguration Constructor (UserName, String, IEnumerableDatabaseName)
This API is preliminary and subject to change.
Initializes a new instance of the UserConfiguration class with the specified user name, password, and databases to initially grant access to.

Namespace: net.openstack.Providers.Rackspace.Objects.Databases
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public UserConfiguration(
	UserName name,
	string password,
	IEnumerable<DatabaseName> databases
)

Parameters

name
Type: net.openstack.Providers.Rackspace.Objects.DatabasesUserName
A UserName object describing the name and host of the user to add.
password
Type: SystemString
The password for the new user.
databases
Type: System.Collections.GenericIEnumerableDatabaseName
A collection of DatabaseName objects identifying the databases to initially grant access to for the new user.
Exceptions
ExceptionCondition
ArgumentNullException If name is .

-or-

If password is .

ArgumentException If password is empty.

-or-

If databases contains any values.

Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also