Jaa


GetAuthorizedTasks Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Returns a data set that describes the tasks that the current user is authorized to perform.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Public Function GetAuthorizedTasks As DataSet
'Usage
Dim instance As OrderManagementContext
Dim returnValue As DataSet

returnValue = instance.GetAuthorizedTasks()
public DataSet GetAuthorizedTasks()
public:
DataSet^ GetAuthorizedTasks()
public function GetAuthorizedTasks() : DataSet

Return Value

Type: System.Data..::.DataSet
A data set that describes the tasks that the current user is authorized to perform.

Remarks

This method delegates the call to DoGetAuthorizedTasks.

The list of possible tasks are as defined in the authorization store. The current user's information will be taken from the ThreadContext and the authorization store will be queried to get the list of tasks the user is allowed to perform.

Permissions

See Also

Reference

OrderManagementContext Class

OrderManagementContext Members

Microsoft.CommerceServer.Orders Namespace