All Categories  Class Hierarchy  This Category  Next  Indexes

People_and_Organisation Class CATVpmPEUsrManager

CATVpmPEUsrManager
 


public class CATVpmPEUsrManager

People & manager management class.
Role: This class provides access to the People & Organization database.


Method Index


o GetUserEmail(char* const)
Gets the e-mail address of a user.
o GetUserOrganizationId(char* const)
Gets the organization ID a user.

Methods


o GetUserEmail
public static const char* GetUserEmail( const char* const iUserId)
Gets the e-mail address of a user.

Role: Use this method to retrieve the e-mail address of a particular VPM user.

Parameters:
iUserId
VPM user ID.
Returns:
E-mail address (NULL if not found). Memory de-allocation (using the delete[] operator) is the responsibility of the calling method.
o GetUserOrganizationId
public static const char* GetUserOrganizationId( const char* const iUserId)
Gets the organization ID a user.

Role: Use this method to retrieve the ID of the organization a particular user is attached to.

Parameters:
iUserId
VPM user ID.
Returns:
ID of the organization the user belongs to (NULL if not found). Memory de-allocation (using the delete[] operator) is the responsibility of the calling method.

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

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