Share via


AOSLoadGen.new Method

Creates an instance of the AOSLoadGen class.

Syntax

public void new([UserId user, ClassId infoClass])

Run On

Server

Parameters

  • user
    Type: UserId Extended Data Type
    The user ID that is used to create the instance of the AOSLoadGen class. The default value is the ID of the current user.
  • infoClass
    Type: ClassId Extended Data Type
    The information class that is used to create the instance of the AOSLoadGen class. The default value is info.

Remarks

Control of the input to the new method could be a security risk. Therefore, this method runs under Code Access Security. Calls to this method on the server require permission from the ExecutePermission class. Make sure that the user has development privileges by setting the security key to SysDevelopment on the control that calls this method.

See Also

Reference

AOSLoadGen Class