Release 10.1A: OpenEdge Development:
Progress Dynamics Administration

> ## Defining login companies

> Login companies are organizations in which the user might be a member. When you set up object access restrictions, you can define access restrictions based on the user, the login company, or both in association. Progress Dynamics also uses login company information as part of its automatic reference number (sequence) generation. An example of login company security usage is in managing application access for different corporate clients of an Application Service Provider (ASP). Another example might be in managing users logging into the same corporate financial application on behalf of different subsidiaries.

> You can register a user to be associated optionally with a specific company by default. Using the standard login dialog box, the user can also choose an association from the available companies during log in. Based on the login company field, you can customize your application’s appearance and security according to the company the user specifies. Progress Dynamics checks login company security automatically when a user logs into the system. The existence of a security allocation record indicates whether access to the allocated login company is granted.

> When you link users to security groups, you can specify the login company to which the security group applies for that user. So even though a security group is valid for all companies, if it is applicable only in a certain company for a certain user, Progress Dynamics only applies security when the user logs into the specified company. If other users are linked to the security group, security is still applied for them for all companies.

> Login companies are stored in the `gsm_login_company` table (entity mnemonic `GSMLG`) and keyed from the `gsm_user` table by `default_login_company_obj`. The information stored in this table is the minimum to identify a company in the Progress Dynamics environment. Typically, an application stores additional company information, such as address and other contact information, in a database external to the framework. When you integrate such an application with Progress Dynamics, you typically define `gsm_login_company` fields that you can use to key into your application database to access the corresponding company information.

> | To define or review login companies:

> 1. In the Security Control window, expand the Security Maintenance node, then choose the Login Company node. The Login Company Maintenance frame appears, as shown:

> 2. To add a new login company (for example, Nutrition Support Systems, Inc.), choose Add record . The fields in the Details tab become enabled, allowing you to enter the field values for the new login company, as shown:

> 3. Choose the Save record button. The new login company immediately appears in the browse of the Login Company Maintenance frame, as shown:

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