AuthorizationMode Enumeration

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

Specifies the mode in which the Authorization policy should be initialized.

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

Syntax

'Declaration
Public Enumeration AuthorizationMode
'Usage
Dim instance As AuthorizationMode
public enum AuthorizationMode
public enum class AuthorizationMode
public enum AuthorizationMode

Members

Member name Description
NoAuthorization Performs no authorization. All AccessCheck methods return automatic success.
HttpContext Performs authorization using the token of the Web site user as retrieved from the current HttpContext. Note that this mode does not require per-user impersonation to function.
ThreadContext Performs authorization using the token of the currently executing thread.

Remarks

Some features, such as GetAuthorizedTasks, require a valid authorization policy to be configured.

See Also

Reference

Microsoft.CommerceServer Namespace