The following example shows how to retrieve the mask and authorization tag for the Name field of the Customer table using the GetFieldDDMConfig() method:
USING OpenEdge.DataAdmin.*. 
VAR DataAdminService oDAS. 
VAR CHARACTER cMask. // store mask value of field 
VAR CHARACTER cAuthTag.// store authorization tag of field 

oDAS = new DataAdminService (ldbname("DICTDB")). 
oDAS:GetFieldDDMConfig ("Customer","Name", OUTPUT cMask, OUTPUT cAuthTag).