All Frameworks  Class Hierarchy  This Framework  Next  Indexes

CORBAServerInfra Interface CATIUExitServerAdmin

System.IUnknown
  |
  +---CATIUExitServerAdmin
 

Usage: you can freely reimplement this interface.


interface CATIUExitServerAdmin

Interface to retrieve user information.
Role: This interface is a user exit. The server manager needs this information to run an applicative server for the user.
You should implement it on the CATUExitServerAdmin component by creating a data extension.

See also:
CATIUExitServerSecurity


Method Index


o getApplicationInfo(char*,char*,CATSystem,char*,char**,CATErr*,char*)
Retrieves information for a specified user and application.

Enumerated Type Index


o CATErr
Additionnal information when the method getApplicationInfo fails.
o CATSystem
Operating system attribute.

Methods


o getApplicationInfo
public virtual HRESULT getApplicationInfo( const char* iUser,
const char* iApplication,
CATSystem iSystem,
const char* iAttribute,
char** oValue,
CATErr* oReason,
const char* iUserCredential= NULL )=0
Retrieves information for a specified user and application.
Parameters:
iUser
The user name
iApplication
The application name
iSystem
The operating system
iAttribute
The attribute scope
Legal values:
CATAttributeUser
User attribute
CATAttributePassword
Password attribute
CATAttributeDomain
Domain attribute
oValue
The attribute retrieved value
oReason
Additional information when the return code is not S_OK
iUserCredential
Credential that identifies the user
Returns:
E_FAIL if the user, the application, or the attribute is unknown, and S_OK otherwise

Enumerated Types


o CATErr
enum CATErr {
  CATErrInvalidUser,
  CATErrInvalidApplication,
  CATErrLDAPNotActive,
  CATErrInvalidAttribute,
  CATErrInvalidEnvironment,
  CATErrOthers
}
Additionnal information when the method getApplicationInfo fails.
Role: It is returned by penultimate argument of
getApplicationInfo
Parameters:
CATErrInvalidUser
The input parameter iUser is invalid.
CATErrInvalidApplication
The input parameter iApplication is invalid.
CATErrInvalidAttribute
The input attribute iAttribute is invalid.
CATErrInvalidEnvironment
Environment variables incorrectly set
CATErrLDAPNotActive
The LDAP environment is not active
CATErrOthers
Otherwise
o CATSystem
enum CATSystem {
  CATSystemUnix,
  CATSystemWindows
}
Operating system attribute.
Role: Indicate the operating system on which the attribute is required.
Parameters:
CATSystemUnix
Unix operating system.
CATSystemWindows
Windows operating system.

This object is included in the file: CATIUExitServerAdmin.h
If needed, your Imakefile.mk should include the module: GW0EXIT

Copyright © 2003, Dassault Systèmes. All rights reserved.