Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.