GetPermissionsForGroup

 

Dovico.TrackITAPI.CSecurity.GetPermissionsForGroup(System.String,Dovico.TrackITAPI.CStateInfo)

 

 

Function Overview:

Returns xml for all permissions pertaining to the group specified by sIDXml which is in the format http://www.dovico.com/schemas/id.xsd.

 

 

Parameter List:

sIDXml - string - xml for the ID of the security group in the format id.xsd

siState - CStateInfo - State Information needed to process the transaction

 

Returns

A string of xml containing all permissions applying to the security group.

 

Example:

// initialize a string of xml containing a Security Group ID to get permissions for

string sXml = "<ID:IDS xmlns:ID=\"http://www.dovico.com/schemas/id.xsd\">";

sXml += "<ID>96</ID></ID:IDS>";

// call the method

wsapi.MethodInvoke("SecurityGetPermissionsForGroup", sXml, stToken);