Share via


DictTable.AOSAuthSetting Method

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.

Syntax

public AOSAuthorization AOSAuthSetting()

Run On

Called

Return Value

Type: AOSAuthorization Enumeration
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 Microsoft Dynamics AX Application Object Tree (AOT), right-click the table, and then click Properties to access the table properties.

Examples

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(); 
}

See Also

Reference

DictTable Class