XmlWriter::newFile Method [AX 2012]

client server public static XmlWriter newFile(str filename, [XmlWriterSettings settings])

Run On

Called

Parameters

filename
Type: str
settings
Type: XmlWriterSettings Class

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

Show: