Class PasswordComponentAttribute
- Namespace
- Kentico.Xperience.Admin.Base.FormAnnotations
- Assembly
- Kentico.Xperience.Admin.Base.Shared.dll
Indicates that the Password form component will be used for editing of this property value in the administration interface.
public class PasswordComponentAttribute : FormComponentAttribute
- Inheritance
-
objectAttributePasswordComponentAttribute
- Inherited Members
- Extension Methods
Remarks
The underlying property must be of the type 'string'.
Constructors
PasswordComponentAttribute()
public PasswordComponentAttribute()
Properties
IgnorePasswordPolicy
Represents whether the password policy is ignored.
[CheckBoxComponent(Label = "{$base.forms.password.ignorepolicy.label$}", Tooltip = "{$base.forms.password.ignorepolicy.tooltip$}", Order = 0)]
public bool IgnorePasswordPolicy { get; set; }
Property Value
- bool
Remarks
Default value is false
.
RequireDigit
Represents whether the password requires a digit.
[CheckBoxComponent(Label = "{$base.forms.password.requiredigit.label$}", Order = 3)]
public bool RequireDigit { get; set; }
Property Value
- bool
RequireLowercase
Represents whether the password requires an lowercase character.
[CheckBoxComponent(Label = "{$base.forms.password.requirelowercase.label$}", Order = 6)]
public bool RequireLowercase { get; set; }
Property Value
- bool
RequireNonAlphanumeric
Represents whether the password requires a nonalphanumeric character.
[CheckBoxComponent(Label = "{$base.forms.password.requirenonalphanumeric.label$}", Order = 4)]
public bool RequireNonAlphanumeric { get; set; }
Property Value
- bool
RequireUppercase
Represents whether the password requires an uppercase character.
[CheckBoxComponent(Label = "{$base.forms.password.requireuppercase.label$}", Order = 5)]
public bool RequireUppercase { get; set; }
Property Value
- bool
RequiredLength
Minimal required amount of digits in the password.
[NumberInputComponent(Label = "{$base.forms.password.requiredlength.label$}", Order = 1)]
public int RequiredLength { get; set; }
Property Value
- int
RequiredUniqueChars
Minimal required amount of unique characters in the password.
[NumberInputComponent(Label = "{$base.forms.password.requireduniquecharacters.label$}", Order = 2)]
public int RequiredUniqueChars { get; set; }
Property Value
- int