Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

C# code for Groups retrieval

Code Block
languagecsharp
linenumberstrue
it.mailupnet.services.MailupSend myService = 
new it new it.mailupnet.services.MailupSend();
string sstring s1 = myService.LoginLoginFromId(user, password, myURLmyConsoleID);
 
... //extract retrievingaccessKey thevalue
defined 
groups for list 1 string s string s2 = myService.GetGroups(accessKey, 1);// retrieving the defined groups for list 1
 
... if  //extract errorCode value from s2
 
if (errorCode == 0)
{
  // executing return message parsing to retrieveEnter here if call was successful
  // the defined groups forThen you can parse received response and extract groups that belong to the desiredspecified list
}