public int ModifyCredentialSet(string originalGuid, string serviceBrokerGuid, string serviceBrokerName,
     string groupName)
 {
     int status = 0;
     UserSchedulingDB dbManager = new UserSchedulingDB();
     if (dbManager.AuthenticateAgentHeader(agentAuthHeader))
     {
         try
         {
             status = dbManager.ModifyCredentialSetServiceBroker(originalGuid, serviceBrokerGuid, serviceBrokerName);
         }
         catch
         {
             throw;
         }
     }
     return status;
 }