2014-06-26 12:04 AM
There are REST APIs provided to Create/Update/Delete/Get a WFA user in WFA. They are available at /rest/docs under UserResource. They can only be called by an Admin user.
If you want a WFA workflow that creates a new WFA User, you would need the following:
1. Create a new command which can call this Rest API. Powershell 3.0 provides Invoke-RestMethod cmdlet which can very easily do it.
2. For creating/Updating a user you need call Invoke-RestMethod, method post/put for creating/updating a user and providing the Admin credentials for -Credentials parameter and an xml file with user details content. And you are done.
3. If you don't have powershell3.0, you'll need to create an HTTPWebRequest, manually add credentials, create a cookie container object and add it then call the API. Long process.
If you want a sample command for Powershell3.0, I'll give you one soon. (somehow unable to find where I saved it )
2014-06-26 02:03 AM
Here is the REST API to update the WFA credential:
input data :
<?xml version="1.0" encoding="UTF-8"?>
here is the possible values for connectionType and matchType
2014-06-26 03:13 AM
Wait a sec? By Credentials you mean WFA User Credentials or The Credentials page in Execution tab?
2014-06-26 06:57 AM
I am talking about the storage credentials stored within WFA. Thanks for all the help I think ranjeetr answered my question.
Is there any way to mask parameters sent to the log files?