IUserManagerActivateUserAccount Method |
Activates user account.
Namespace: ArtDatabanken.DataAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax bool ActivateUserAccount(
IUserContext userContext,
string userName,
string activationKey
)
Function ActivateUserAccount (
userContext As IUserContext,
userName As String,
activationKey As String
) As Boolean
bool ActivateUserAccount(
IUserContext^ userContext,
String^ userName,
String^ activationKey
)
abstract ActivateUserAccount :
userContext : IUserContext *
userName : string *
activationKey : string -> bool
Parameters
- userContext
- Type: ArtDatabanken.DataIUserContext
User context. - userName
- Type: SystemString
UserName. - activationKey
- Type: SystemString
Activation key.
Return Value
Type:
Boolean
'true' if account is activated
'false' if username doesn't exists in database or activation key doesn't match
See Also