Share via


DictTable.Aosauthsetting Method

Definition

Retrieves an AOSAuthorization system enumeration value that specifies the type of operation that a user can perform on a table, depending on the permissions of the user.

public:
 virtual Microsoft::Dynamics::Ax::Xpp::AOSAuthorization Aosauthsetting();
public virtual Microsoft.Dynamics.Ax.Xpp.AOSAuthorization Aosauthsetting ();
abstract member Aosauthsetting : unit -> Microsoft.Dynamics.Ax.Xpp.AOSAuthorization
override this.Aosauthsetting : unit -> Microsoft.Dynamics.Ax.Xpp.AOSAuthorization
Public Overridable Function Aosauthsetting () As AOSAuthorization

Returns

An AOSAuthorization system enumeration value.

Remarks

The AOSAuthorization::None value indicates that an authorization check is not performed. Use table properties to set the AOSAuthorization property for a table. In the Finance and Operations Application Object Tree (AOT), right-click the table, and then click Properties to access the table properties.

This following example shows a call to the AOSAuthSetting method.

static public void Main(Args _args) 
{ 
    DictTable dt; 
    AOSAuthorization a; 
    dt = new DictTable(tablenum(CustTable)); 
    a = dt.AOSAuthSetting(); 
}

Applies to