/// <summary>
 /// SetUserData method implementation
 /// </summary>
 internal void SetUserData(MFAUserList registrations)
 {
     try
     {
         MMCService.SetUser(registrations);
         UpdateRows(registrations);
     }
     catch (Exception ex)
     {
         MessageBoxParameters messageBoxParameters = new MessageBoxParameters
         {
             Text    = ex.Message,
             Buttons = MessageBoxButtons.OK,
             Icon    = MessageBoxIcon.Error
         };
         SnapIn.Console.ShowDialog(messageBoxParameters);
     }
 }
コード例 #2
0
 /// <summary>
 /// SetUserData method implementation
 /// </summary>
 internal void SetUserData(MFAUserList registrations)
 {
     MMCService.SetUser(registrations);
     UpdateRows(registrations);
 }