Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference

> ## userSecurityCheck

> This procedure checks a user’s security allocation for the passed-in company and security option. The types of security checks that could be made include checks for access to tokens, fields, data, data ranges, and menu items. The type of security check depends on the passed-in entity mnemonic and`obj`.

> Location: af\app\afsecmngrp.i

> Parameters:

> `INPUT pdUserObj AS DECIMAL`

> The user being checked.

> `INPUT pdOrganisationObj AS DECIMAL`

> The company the user is logged in to.

> `INPUT pcOwningEntityMnemonic AS CHARACTER`

> The security table being checked.

> `INPUT pdOwningObj AS DECIMAL`

> The security table object being checked.

> `INPUT plReturnValues AS LOGICAL`

> Whether or not to return security values.

> `OUTPUT plSecurityRestricted AS LOGICAL`

> Returns `YES` if security check is passed.

> `OUTPUT pcSecurityValue1 AS CHARACTER`

> Returns any specific security data.

> `OUTPUT pcSecurityValue2 AS CHARACTER`

> Returns any specific security data.

> Notes: None

> Examples: See the main block in `af\app\afchkuserp.p`.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095