Role Management Web Service Methods - Motorola CA50 Developer & User Manual

Table of Contents

Advertisement

11 - 22 CA50/UCA Client & Server Developer & User Guide

Role Management Web Service Methods

In the default installation the Role Management Web Service is located at:
http://UCAInstallMachine/Motorola/UCA/ServerManagement/RoleManagement.asmx.
This Web service can be used by external programs to modify the UCA role data in the UCA database.
AddRole
This method adds a role into UCA system. The roles are added into the B_Roles table.
int AddRole(string sStoreNumber, RoleInfo roleInfo, string ipAddr, string sUser,
ref UCAWebServiceStatus WSStatus)
Parameters
sStoreNumber
Store Number.
roleInfo
Role Information info class that describes the organizational role.
ipAddr
IP address of source machine (optional - used for logging).
Pass "" when address logging is not required.
sUser
UserID of user making WS call (optional - used for logging).
Pass "" when user logging is not required.
WSStatus
UCAWebServiceStatus class describes the status of the call.
Return Values
Returns 1 when successful.
Remarks
Any errors are logged to the NT Event log.
Related Classes
public class RoleInfo
{
public RoleInfo(){}
string RoleToken,
string RoleName,
string RoleExtID,
}

Advertisement

Table of Contents
loading

Table of Contents