Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void CreateUser(string, string, bool)

Declaration

public void CreateUser(
    string username,
    string password,
    bool canCreateUsers = false
)

Summary

Creates a new user. (Throws if the username is already in use.)

Parameters

stringusername Username of the new user.
stringpassword Password for the new user.
boolcanCreateUsers Indicates whether the new user should have the right to create new users.

Exceptions

  • System.InvalidOperationException
    The specified username is already in use.