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

VBScript

user.Active 
user.Active boolean_value 

Perl

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