Метод | Описание | |
---|---|---|
DomainUserName ( string userAtDomain ) : System |
Creates a DomainUserName struct given a `user@domain` formatted name.
|
|
DomainUserName ( string user, string domain ) : System |
Creates a DomainUserName struct given both a user name and a domain name.
|
|
SetDomain ( string domain ) : |
Changes the domain name without affecting the user name.
|
|
SetUser ( string user ) : |
Changes the user name without affecting the domain name.
|
Метод | Описание | |
---|---|---|
setUserDomain ( string user, string domain ) : void |
public DomainUserName ( string userAtDomain ) : System | ||
userAtDomain | string | |
Результат | System |
public DomainUserName ( string user, string domain ) : System | ||
user | string | |
domain | string | |
Результат | System |
public SetDomain ( string domain ) : |
||
domain | string | New domain name to set |
Результат |
public SetUser ( string user ) : |
||
user | string | New user name to set |
Результат |