Previous Topic: Exported Enumerations

Next Topic: Sm_Api_Reason_t

Sm_Api_DisabledReason_t

Enumerates the reasons that a user account can be disabled.

The following APIs use Sm_Api_DisabledReason_t:

Note: A user account can be disabled for multiple reasons. For example, if the User must change password at next login checkbox is checked and the administrator clicks Disable, an nDisabledReason parameter holds both the Sm_Api_Disabled_PWMustChange bit and the Sm_Api_Disabled_AdminDisabled bit.

For examples of using Sm_Api_DisabledReason_t, see the examples under Sm_PolicyApi_SetDisabledUserState().

The following table shows the bits that can be set for disabled reason. A brief explanation of each reason, organized by reason type, follows the table.

Disabled Reason

Type

Value

Sm_Api_Disabled_DisabledMask

Mask

0x00ffffff

Sm_Api_Disabled_Enabled

Mask

0

Sm_Api_Disabled_AdminDisabled

Bits

0x00000001

Sm_Api_Disabled_MaxLoginFail

Bits

0x00000002

Sm_Api_Disabled_Inactivity

Bits

0x00000004

Sm_Api_Disabled_PWExpired

Bits

0x00000008

Sm_Api_Disabled_DirNativeDisabled

Bits

0x00000010

Sm_Api_Disabled_PWMustChange

Qualifier

0x01000000

Disabled Mask

Disabled Bits

A user account can be disabled for one or more of the following reasons:

Qualifier


Copyright © 2010 CA. All rights reserved. Email CA about this topic