AnsweredAssumed Answered

Script steps that create/edit/delete accounts fail with error 217, when run from the XML interface...

Question asked by wbr on Apr 25, 2012
Latest reply on May 1, 2012 by TSGal

Summary

Script steps that create/edit/delete accounts fail with error 217, when run from the XML interface (web publishing engine)

Version

FMSA 12.0.1.178

Operating system version

Mac OS 10.7.3

Description of the issue

When running a script from the XML interface, and the script contains steps that create/edit/delete accounts, the script fails with error 217 "User does not have sufficient privileges to modify administrator account".

The account used to access FMSA thru the XML interface is an administrator account with "Full Access" privileges.

Steps to reproduce the problem

Create a second administrator account.

Create a FM script that changes the password of the new administrator account.

Run this script thru the FMSA XML interface, using the primary administrator account to login.

    https://myFmServer.com:443/fmi/xml/fmresultset.xml?-db=MyDb&-lay=MyLayout&-script=TestChangePassword&-find=&-recid=

Expected result

An XML response containing the found record on the specified layout.

Actual result

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE fmresultset PUBLIC "-//FMI//DTD fmresultset//EN" "https://myFmServer.com:443/fmi/xml/fmresultset.dtd">

     
     
     
     
     

Configuration information

This same call using an identical FM 11 file, served from FMSA 11, works as expected.

Workaround

None.

Outcomes