This member is for System Use Only and should NOT be used.
Create a Token in the ISToken table for the Current User.

Any expired Tokens in the ISToken table will be deleted.

Syntax

ISDatabaseBL.CreateToken(type, token, [expirySeconds], [notes], [properties], [contextPrefix], [userPk])

Parameters

NameTypeOptionalByRefDescription
type iseTokenType The Token Type.
token String ByRef The new Token.
expirySeconds Integer Optional The number of seconds for which the Token is valid. If omitted, this will be 60. If omitted, a value of 60 is assumed.
notes String Optional Any Notes to record against the Token.
properties String Optional Additional Properties to record.
contextPrefix String Optional A Prefix to add to the token record in the database to identify its context. Only used for PortalMultiFactorAuthenticationCode type Tokens.
userPk Integer Optional If omitted, a value of -1 is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISDatabaseBL
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0