The CSS grantuser command and the CSS removeuser command do not work correctly in Microsoft Commerce Server 2007 (920678)



The information in this article applies to:

  • Microsoft Commerce Server 2007 Developer Edition
  • Microsoft Commerce Server 2007 Enterprise Edition
  • Microsoft Commerce Server 2007 Standard Edition

SYMPTOMS

When you use Microsoft Commerce Server 2007, the Commerce Server Staging (CSS) grantuser command and the CSS removeuser command may not work correctly. For example, a user may still use CSS to run content replication after you have used the CSS removeuser command to remove the user.

CAUSE

When you remove the user by using the CSS removeuser command, you cannot deny the user access to a particular project. Every CSS replication project is defined by a Microsoft Windows registry key.

WORKAROUND

To work around this problem, make sure that you have administrator permissions. Remove the CSS Operators group from the security permission of the specific project's registry key to establish the granularity of security control. Then, add the user to the security permission of the specific project's registry key. To do this, follow these steps:
  1. Start a command prompt, and then switch to the <drive:>\Program Files\Microsoft Commerce Server 2007\Staging\Bin directory.

    Note <drive:> is a placeholder for the system drive where Microsoft Commerce Server 2007 is installed.
  2. At the command line, type:
    CSS removeuser <project name> CSS Operators
    Note <project name> is the project that you want to remove the user from. CSS Operators is one of the default Windows user groups that is created when you install CSS.
  3. At the command line, type:
    CSS grantuser <project name><user account>
    Note <user account> is the user account that will be able to run content replication on Microsoft Commerce Server 2007.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about CSS commands, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbtshoot kbprb KB920678 kbAudDeveloper kbAudITPRO