Locked Property (AUser)

Version 10 (156d)

 

Returns or sets whether the user account is locked.

Syntax

Object.Locked [ = bLocked ]

The Locked property syntax has the following parts:

 

Name

Type

Description

Object

AUser

AUser object

bLocked

Bool

A boolean expression that specifies whether the user account is locked (True) or Unlocked (False).

Where

bLocked can be one of the following:

 

Value

Description

True *

The user will be locked and will not able to log in.

False

The user will account will be unlocked and will able to log in..

Comments

Use the property to determine if the user account is lock/locked o user account. If the account is locked the user will not able to log in unless the administrator unlock his account using this property or user the Users dialog.

Example

The following statement lock the user account:

user1.Locked=True

Applies to

AUser

See Also

FullName, Name, Rights