Initializes a new instance of the
NewUser class with the specified
username, email address, password, and value indicating whether or not the user
is initially enabled.
Namespace: net.openstack.Core.DomainAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public NewUser(
string username,
string email,
string password = null,
bool enabled = true
)
Public Sub New (
username As String,
email As String,
Optional password As String = Nothing,
Optional enabled As Boolean = true
)
public:
NewUser(
String^ username,
String^ email,
String^ password = nullptr,
bool enabled = true
)
new :
username : string *
email : string *
?password : string *
?enabled : bool
(* Defaults:
let _password = defaultArg password null
let _enabled = defaultArg enabled true
*)
-> NewUser
Parameters
- username
- Type: SystemString
The username of the new user (see Username). - email
- Type: SystemString
The email address of the new user (see Email). - password (Optional)
- Type: SystemString
The password for the new user (see Password). - enabled (Optional)
- Type: SystemBoolean
if the user is initially enabled; otherwise, (see Enabled).
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also