Mobile App Development Software
Alpha TransForm - Free Trial
|
Alpha Anywhere - Build Apps for Free
Alpha Software
Documentation
  • Reference
  • API
  • Objects
  • Server
  • Context
  • Security
  • ValidateUser Method
Parent | Child | Previous | Next
  • AddUserToRole Method
  • AddUserToRoles Method
  • AdministrativeCreateUser Method
  • AdministrativeResetPassword Method
  • ChangeEmail Method
  • ChangePassword Method
  • ChangePasswordQuestionAndAnswer Method
  • CreateRole Method
  • CreateUser Method
  • DeleteRole Method
  • DeleteUser Method
  • GeneratePassword Method
  • GetEmail Method
  • GetLastPasswordChangedDate Method
  • GetPasswordQuestion Method
  • GetRoles Method
  • GetRoleUsers Method
  • GetUser Method
  • GetUserProviderKey Method
  • GetUserRoles Method
  • GetUsers Method
  • GetUsersPaged Method
  • IsCurrentUserInRole Method
  • IsCurrentUserInRoles Method
  • IsUserInRole Method
  • IsUserInRoles Method
  • LockOutUser Method
  • Login Method
  • Logout Method
  • PasswordHasExpired Method
  • RemoveUserFromRole Method
  • RemoveUserFromRoles Method
  • ResetPassword Method
  • RoleExists Method
  • SetExpirePasswordImmediate Method
  • TestPassword Method
  • TestUsername Method
  • UnlockUser Method
  • UserExists Method
  • UserIsLockedOut Method
  • ValidateUser Method
 

ValidateUser Method

Syntax

Context.Security.ValidateUser as L (UserName as C, Password as C)

Arguments

UserNameCharacter

The user name.

PasswordCharacter

The user's password.

Returns

resultLogical

Returns .T. if the credentials are valid; otherwise .F.

Description

Validates the supplied credentials.

Discussion

Context.Security.ValidateUser() validates the supplied credentials. Check Context.Security.CallResult.Success before using the return value.

Report an issue with this page
Mobile App Development Software

Alpha TransForm - Quickly Build Enterprise Mobile Forms
- Try it for Free

Alpha Anywhere - Low Code Platform for Mobile Developers
- Build Apps for Free
Alpha Software Corporation

781.229.4500
© Copyright 2000-2020 Alpha Software Corporation. All Rights Reserved

Privacy Policy