Delphi Conduit Library Help

Introduction

Main Index

General Info

TpfgPalmComponent

TpfgHotSyncActionDialog

TpfgPalmRemoteTable

TpfgPalmLocalTable

TpfgUserManager

TpfgPalmSyncComponent

FAQ

  

Properties

UserCount

Methods

AddUser
DeleteUser
GetUserList
GetUserDirectory

TpfgUserManager

The TpfgCardInfo class was developed by Per-Eric Larsson. It provides information about the list of users and their home directories.

Properties

UserCount: Smallint
Returns the number of users in the system.

Methods

function AddUser(UserName:String;ProfileUser:boolean):LongInt;
Adds in the specified user.

function DeleteUser(UserName:String):longint;
Deletes the specified user.

function GetUserList(ts:tstrings):SmallInt;
Returns a list of the users.

function GetUserDirectory(const username:string):string;
Returns the home directory for the specified user.


The function UserManagerCheck (defined in pfgPalmSyncError.pas) can be used to check the return values of AddUser and DeleteUser and raise an exception if necessary.