Поделиться через


IsAuthenticated Method

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

Use this method to determine whether the current user has a valid MSCSAuth ticket, authenticated within the default time window of 90 minutes.

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

Syntax

'Declaration
Public Function IsAuthenticated As Boolean
'Usage
Dim instance As AuthManager
Dim returnValue As Boolean

returnValue = instance.IsAuthenticated()
public bool IsAuthenticated()
public:
bool IsAuthenticated()
public function IsAuthenticated() : boolean

Return Value

Type: System..::.Boolean
true to indicate the user is authenticated; otherwise false.

Exceptions

Exception Condition
CommerceAuthenticationException

The user could not be authenticated.

Remarks

Gets a value indicating whether the user has been authenticated, within the default time window of 90 minutes, by Microsoft Commerce Server.

Permissions

See Also

Reference

AuthManager Class

AuthManager Members

IsAuthenticated Overload

Microsoft.CommerceServer.Runtime Namespace