Consultor Eletrônico



Kbase P5875: 4GL/ABL: Is it possible to reverse or deactivate the database 'Disallow Blank Userid Access' setting
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/4/2011
Status: Verified

GOAL:

4GL/ABL: Is it possible to reverse or deactivate the database 'Disallow Blank Userid Access' setting programmatically?

GOAL:

How to allow Database Blank Userid Access using 4GL/ABL after it has been set to 'Disallow Blank Userid Access'?

GOAL:

How to enable blank user access from 4GL without using the Data Administration Tool?

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

FIX:

To programmatically reverse or deactivate the database 'Disallow Blank Userid Access' setting programmatically and to allow Database Blank Userid Access using 4GL/ABL after it has been set to 'Disallow Blank Userid Access', execute the following 4GL/ABL code against the database:
FOR EACH _File WHERE _Tbl-Type = "T":
ASSIGN
_can-create = "*"
_can-write = "*"
_can-read = "*"
_can-delete = "*".
END.