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.
Use this method to determine whether the current user has a valid MSCSAuth ticket, authenticated within a specified period of time.
Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Function IsAuthenticated ( _
timeWindow As Integer _
) As Boolean
'Usage
Dim instance As AuthManager
Dim timeWindow As Integer
Dim returnValue As Boolean
returnValue = instance.IsAuthenticated(timeWindow)
public bool IsAuthenticated(
int timeWindow
)
public:
bool IsAuthenticated(
int timeWindow
)
public function IsAuthenticated(
timeWindow : int
) : boolean
Parameters
- timeWindow
Type: System..::.Int32
The time period in minutes.
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 specified time window, 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.