EnsureUserHasRightsToCatalog - Solution Sites Routine

This sub ensures that the user has access rights to the given catalog. If not, the user is redirected to the "bad catalog item" error page (error\baditem.asp).

Definition

Sub EnsureUserHasRightsToCatalog(
  byVal sCatalogName,
  byVal sUserID)

Parameters

  • sCatalogName
    A string containing the name of the catalog.
  • sUserID
    A string containing the user ID.

Defined in File

include\catalog.asp

Routines Called

GenerateURL

mscsUserCatalogsetID

Called By

GetCatalogForUser

Main (category.asp)

Main (product.asp)

Copyright © 2005 Microsoft Corporation.
All rights reserved.