diff options
Diffstat (limited to 'OpenSim/Services/UserAccountService/UserAccountService.cs')
-rwxr-xr-x | OpenSim/Services/UserAccountService/UserAccountService.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index 5270799..c51b9eb 100755 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs | |||
@@ -434,19 +434,19 @@ namespace OpenSim.Services.UserAccountService | |||
434 | 434 | ||
435 | if (ua == null) | 435 | if (ua == null) |
436 | { | 436 | { |
437 | MainConsole.Instance.Output("No user named {0} {1}", null, firstName, lastName); | 437 | MainConsole.Instance.Output("No user named {0} {1}", firstName, lastName); |
438 | return; | 438 | return; |
439 | } | 439 | } |
440 | 440 | ||
441 | MainConsole.Instance.Output("Name: {0}", null, ua.Name); | 441 | MainConsole.Instance.Output("Name: {0}", ua.Name); |
442 | MainConsole.Instance.Output("ID: {0}", null, ua.PrincipalID); | 442 | MainConsole.Instance.Output("ID: {0}", ua.PrincipalID); |
443 | MainConsole.Instance.Output("Title: {0}", null, ua.UserTitle); | 443 | MainConsole.Instance.Output("Title: {0}", ua.UserTitle); |
444 | MainConsole.Instance.Output("E-mail: {0}", null, ua.Email); | 444 | MainConsole.Instance.Output("E-mail: {0}", ua.Email); |
445 | MainConsole.Instance.Output("Created: {0}", null, Utils.UnixTimeToDateTime(ua.Created)); | 445 | MainConsole.Instance.Output("Created: {0}", Utils.UnixTimeToDateTime(ua.Created)); |
446 | MainConsole.Instance.Output("Level: {0}", null, ua.UserLevel); | 446 | MainConsole.Instance.Output("Level: {0}", ua.UserLevel); |
447 | MainConsole.Instance.Output("Flags: {0}", null, ua.UserFlags); | 447 | MainConsole.Instance.Output("Flags: {0}", ua.UserFlags); |
448 | foreach (KeyValuePair<string, Object> kvp in ua.ServiceURLs) | 448 | foreach (KeyValuePair<string, Object> kvp in ua.ServiceURLs) |
449 | MainConsole.Instance.Output("{0}: {1}", null, kvp.Key, kvp.Value); | 449 | MainConsole.Instance.Output("{0}: {1}", kvp.Key, kvp.Value); |
450 | } | 450 | } |
451 | 451 | ||
452 | protected void HandleResetUserPassword(string module, string[] cmdparams) | 452 | protected void HandleResetUserPassword(string module, string[] cmdparams) |
@@ -470,7 +470,7 @@ namespace OpenSim.Services.UserAccountService | |||
470 | UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName); | 470 | UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName); |
471 | if (account == null) | 471 | if (account == null) |
472 | { | 472 | { |
473 | MainConsole.Instance.Output("No such user as {0} {1}", null, firstName, lastName); | 473 | MainConsole.Instance.Output("No such user as {0} {1}", firstName, lastName); |
474 | return; | 474 | return; |
475 | } | 475 | } |
476 | 476 | ||
@@ -479,9 +479,9 @@ namespace OpenSim.Services.UserAccountService | |||
479 | success = m_AuthenticationService.SetPassword(account.PrincipalID, newPassword); | 479 | success = m_AuthenticationService.SetPassword(account.PrincipalID, newPassword); |
480 | 480 | ||
481 | if (!success) | 481 | if (!success) |
482 | MainConsole.Instance.Output("Unable to reset password for account {0} {1}.", null, firstName, lastName); | 482 | MainConsole.Instance.Output("Unable to reset password for account {0} {1}.", firstName, lastName); |
483 | else | 483 | else |
484 | MainConsole.Instance.Output("Password reset for user {0} {1}", null, firstName, lastName); | 484 | MainConsole.Instance.Output("Password reset for user {0} {1}", firstName, lastName); |
485 | } | 485 | } |
486 | 486 | ||
487 | protected void HandleResetUserEmail(string module, string[] cmdparams) | 487 | protected void HandleResetUserEmail(string module, string[] cmdparams) |
@@ -505,7 +505,7 @@ namespace OpenSim.Services.UserAccountService | |||
505 | UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName); | 505 | UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName); |
506 | if (account == null) | 506 | if (account == null) |
507 | { | 507 | { |
508 | MainConsole.Instance.Output("No such user as {0} {1}", null, firstName, lastName); | 508 | MainConsole.Instance.Output("No such user as {0} {1}", firstName, lastName); |
509 | return; | 509 | return; |
510 | } | 510 | } |
511 | 511 | ||
@@ -515,9 +515,9 @@ namespace OpenSim.Services.UserAccountService | |||
515 | 515 | ||
516 | success = StoreUserAccount(account); | 516 | success = StoreUserAccount(account); |
517 | if (!success) | 517 | if (!success) |
518 | MainConsole.Instance.Output("Unable to set Email for account {0} {1}.", null, firstName, lastName); | 518 | MainConsole.Instance.Output("Unable to set Email for account {0} {1}.", firstName, lastName); |
519 | else | 519 | else |
520 | MainConsole.Instance.Output("User Email set for user {0} {1} to {2}", null, firstName, lastName, account.Email); | 520 | MainConsole.Instance.Output("User Email set for user {0} {1} to {2}", firstName, lastName, account.Email); |
521 | } | 521 | } |
522 | 522 | ||
523 | 523 | ||
@@ -555,9 +555,9 @@ namespace OpenSim.Services.UserAccountService | |||
555 | 555 | ||
556 | bool success = StoreUserAccount(account); | 556 | bool success = StoreUserAccount(account); |
557 | if (!success) | 557 | if (!success) |
558 | MainConsole.Instance.Output("Unable to set user level for account {0} {1}.", null, firstName, lastName); | 558 | MainConsole.Instance.Output("Unable to set user level for account {0} {1}.", firstName, lastName); |
559 | else | 559 | else |
560 | MainConsole.Instance.Output("User level set for user {0} {1} to {2}", null, firstName, lastName, level); | 560 | MainConsole.Instance.Output("User level set for user {0} {1} to {2}", firstName, lastName, level); |
561 | } | 561 | } |
562 | 562 | ||
563 | #endregion | 563 | #endregion |