xRecord.skipAosValidation Method [AX 2012]

Gets and sets the property that indicates whether to skip validation of Microsoft Dynamics AX Application Object Server (AOS).

public boolean skipAosValidation([boolean newValue])

Run On



Type: boolean
A Boolean value that indicates whether to skip AOS validation.

Return Value

Type: boolean
true if AOS validation should be skipped; otherwise, false.

If an attacker can control input to the skipAosValidation method, a security risk exists. Therefore, this method runs under Code Access Security. Calls to this method on the server require permission from the SkipAOSValidationPermission class. Make sure that the user has development user rights by setting the security key to SysDevelopment on the control that calls this method.