xRecord.skipAosValidation Method

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

Syntax

public boolean skipAosValidation([boolean newValue])

Run On

Called

Parameters

  • newValue
    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.

Remarks

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.

See Also

Reference

xRecord Class