DoGetAuthorizedTasks 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
Protected Function DoGetAuthorizedTasks As DataSet
'Usage
Dim returnValue As DataSet

returnValue = Me.DoGetAuthorizedTasks()
protected DataSet DoGetAuthorizedTasks()
protected:
DataSet^ DoGetAuthorizedTasks()
protected function DoGetAuthorizedTasks() : DataSet

Return Value

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

Remarks

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

OrderServices Class

OrderServices Members

Microsoft.CommerceServer.Orders Namespace