Jaa


GetAuthorizedTasks Method

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

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

Namespace:  Microsoft.CommerceServer.Orders.WebService
Assembly:  Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function GetAuthorizedTasks As DataSet
'Usage
Dim instance As OrdersWebService
Dim returnValue As DataSet

returnValue = instance.GetAuthorizedTasks()
[WebMethodAttribute]
public virtual DataSet GetAuthorizedTasks()
[WebMethodAttribute]
public:
virtual DataSet^ GetAuthorizedTasks()
public function GetAuthorizedTasks() : DataSet

Return Value

Type: System.Data..::.DataSet
A DataSet containing list of tasks current user is authorized to perform

Remarks

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

Permissions

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace