GetPermissionsForEmployeee

 

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

 

 

Function Overview:

Returns xml for all permissions pertaining to the employee ids security 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 employee we are retrieving permissions for 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 an Employee 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("SecurityGetPermissionsForEmployee", sXml, stToken);