RefreshAuthorizedTasks Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Refreshes the Authorized tasks dataset.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub RefreshAuthorizedTasks
'Usage
Dim instance As CatalogContext
instance.RefreshAuthorizedTasks()
public void RefreshAuthorizedTasks()
public:
void RefreshAuthorizedTasks()
public function RefreshAuthorizedTasks()
Remarks
If catalog authorization is enabled on the catalog server the CatalogContext will fetch the list of authorized tasks for the user. If role memberships are changed on the catalog server by the system administrator then the cached information is outdated. You should call the RefreshAuthorizedTasks method to refresh the permissions from the catalog server.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.