Active

Description

Indicates whether or not the user's account is active.

This property can be returned or set.

Users whose accounts are inactive are not allowed to access any databases associated with this schema repository (master database). Setting this property to false effectively disables the user's account. To limit the user's access to a specific set of databases, use the SubscribeDatabase and UnsubscribeDatabase methods instead.

The user's Active setting overrides the Active setting for each group in which the user account is a member.

Syntax

Perl


$user->GetActive();
$user->SetActive(boolean_value); 
Identifier
Description
user
A User object.
boolean_value
1 if setting the user's account to active; 0 if not active.
Return value
A Bool indicating whether the user's account is active.