Define the security information about the configuration property.
Inheritance Hierarchy
Namespace:
MFiles.VAF.Configuration
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
Syntax[SerializableAttribute]
public class SecurityAttribute : Attribute,
ISchemaMemberControlAttribute
<SerializableAttribute>
Public Class SecurityAttribute
Inherits Attribute
Implements ISchemaMemberControlAttribute
[SerializableAttribute]
public ref class SecurityAttribute : public Attribute,
ISchemaMemberControlAttribute
The SecurityAttribute type exposes the following members.
Constructors
Properties
| Name | Description |
---|
 | ChangeBy |
Defines the minimum user level required for changing the value.
|
 | IsPassword |
Is the property a password field, which is returned as empty.
|
 | ViewBy |
Defines the minimum user level required for viewing the value.
|
Top
Methods
| Name | Description |
---|
 | CanGenerateMember |
Determines whether the schema generator should add a member definition
to the schema it is generating.
|
  | ResolveUserLevel |
Resolves the current user's user level based on the given operation context.
|
Top
Remarks
When password fields are used in the UI, those values will be redacted via a password mask "****" in a
configuration object that has been parsed using json passed from the UI. The exception is when the password
has been input into the UI and is first being saved. Therefore the password should only be used from
configuration objects that have been loaded from NamedValueStorage (the non-redacted version).
Note that the OnConfigurationChange handler will be passed a configuration object that contains the
unredacted value.
See Also