Help Center>Foundation Help

Applies to:

  • Winshuttle Foundation

AddUserPolicy

Use the AddUserPolicy command to specify a Workflow Admin user (domain\username) to be added to a specified destination Web app with Full Control permissions.

Note: In order to display SharePoint sites (corresponding to a web application) in the Destination Site drop down on the Move Archived data Scheduler page, the Workflow Admin user account must be present in the User policy for the particular web application. You can use the AddUserPolicy command to add the Workflow Admin user account to the user policy for a Web application.

Note: This command is only available in Workflow 10.9.1 and later.

  • For SharePoint 2010, this adds a user in non-claim format (only) to the owner group for the Web app.
  • For SharePoint 2013, this adds a user in both claim and non-claim format with Full Control permissions for the Web app.

Usage

svadm -o AddUserPolicy -webapp http://webappurlexample.com -user domain\username -useWorkflowadmin

Options

Name

Description

Required

-webapp

The URL for the web application to which you are adding the user.

Yes

-user

The domain\username for the user to be added.

Yes*

-useworkflowadmin

Use to automatically add the Workflow Admin account to the specified Web application.

No*

*Note: Although you must specify a user with the -user option. However, if -useworkflowadmin is used in the same command with -user, then the user specified with -user will be ignored.