Synchronizing users and groups through ScfUtils
ScfUtils provides a command line interface for performing Model Explorer functions.
Through ScfUtils, you can synchronize the permissions of users group memberships in a database following changes in Active Directory.
If you have installed Modeler to the default locations, ScfUtils resides in the following location:
C:\Program Files (x86)\PTC Integrity Modeler\Modeler\Exe\SCFUtils.exe
For information about synchronizing a database through Model Explorer, refer to Synchronizing a database with Active Directory changes (Model Explorer).
To synchronize user permissions in a database
Use the following command to synchronize user permissions in a database:
ScfUtils -syncuser Enterprise "<database-ref>" "user"
Where:
<database-ref> specifies the reference to a database for synchronization.
Enter the database reference in the following format: \\SQL\<instance-name>\<database>
<user> specifies the user.
Example:
ScfUtils -syncuser Enterprise "\\SQL\Server1@MODELER\ModelsDB" "domain\user"
To synchronize group permissions in a database
Use the following command to synchronize group permissions in a database:
ScfUtils -syncgroup Enterprise "<database-ref>" "group name"
Where:
<database-ref> specifies the reference to a database for synchronization.
Enter the database reference in the following format: \\SQL\<instance-name>\<database>
<group name> specifies the name of the group.
Example:
ScfUtils -syncgroup Enterprise "\\SQL\Server1@MODELER\ModelsDB" "domain\groupname"