Class ValidateSecurityAttribute
An attribute to define which methods have the security validation
[AttributeUsage(AttributeTargets.Method)]
public class ValidateSecurityAttribute : Attribute
- Inheritance
-
ValidateSecurityAttribute
- Inherited Members
Constructors
ValidateSecurityAttribute()
Initializes a new instance of the ValidateSecurityAttribute class.
public ValidateSecurityAttribute()
ValidateSecurityAttribute(SecurityIdentifier)
Initializes a new instance of the ValidateSecurityAttribute class.
public ValidateSecurityAttribute(SecurityIdentifier securityIdentifier)
Parameters
securityIdentifier
SecurityIdentifier
ValidateSecurityAttribute(SecurityValidationLevel, params SecurityIdentifier[])
Initializes a new instance of the ValidateSecurityAttribute class.
public ValidateSecurityAttribute(SecurityValidationLevel validationLevel, params SecurityIdentifier[] securityIdentifiers)
Parameters
validationLevel
SecurityValidationLevelThe ValidationLevel
securityIdentifiers
SecurityIdentifier[]The list of SecurityIdentifier
Properties
SecurityIdentifiers
Gets the list of security identifiers
public SecurityIdentifier[]? SecurityIdentifiers { get; }
Property Value
ValidationLevel
Gets the level of security that the user must match
public SecurityValidationLevel? ValidationLevel { get; }