Partajați prin


CreateProfilesAuthorizationStore

The Profiles System uses scopes in an Authorization Manager XML policy file to enable access control at the granularity of profile definitions. A default installation of Commerce Server Core Systems includes scopes for each of the built-in profile definitions.

You use the CreateProfilesAuthorizationStore tool to synchronize the profiles role assignment with the profile definitions associated with a site profiles resource. This topic describes the CreateProfilesAuthorizationStore command-line tool and its options and parameters.

To use the CreateProfilesAuthorizationStore tool

  1. Open a command prompt.

  2. If it is not in your path, locate the folder where CreateProfilesAuthorizationStore.exe is located. By default, this is in the \Program Files\Microsoft Commerce Server 2009\Tools folder.

  3. Run the CreateProfilesAuthorizationStore.exe command-line tool, specifying the appropriate options found in this topic.

Example

The syntax for using the CreateProfilesAuthorizationStore.exe command-line tool is as follows:

CreateProfilesAuthorizationStore <SiteName> <FileName>
  • SiteName
    The name of an existing Commerce Server Core Systems site.

  • FileName
    The name of the authorization store XML file that you want to create. If this file already exists, any missing scopes will be added to the file. No scopes will be removed from this file.

CreateProfilesAuthorizationStore CSharpSite c:\Inetpub\wwwroot\ProfilesWebService\ProfilesAuthorizationStore.xml

See Also

Other Resources

Profiles System Tools

Profile Key Manager

Profiles Schema Generator

Profiles Schema Manager [Shared]