#166264 - 2006-08-23 01:06 PM
Outlook XP/2003 Exchange - Find out User?
|
private_meta
Getting the hang of it
Registered: 2006-07-27
Posts: 80
Loc: Austria
|
I have the following problem:
I want kix to automatically set the exchange account for the specific users, in case they do not exist yet.
As i try to not install the new profile if an old one is already installed i would have to extract the exchange user name from the system
I have tried to solve this with the registry, but opposed to my hopes, the HKEY_CURRENT_USER Entry (HKCU\Software\Microsoft\Windows NT\Windows Messaging Subsystem\Profiles) has the profiles of every user in there, so i can't find out if this user made the profile the first time.
Second approach (tried the local profile, application data and local settings) i found out that, in case Outlook is installed freshly there are no outlook folders in your local profile, but as soon as you start outlook and cancel the creation of an account, these folders are created nevertheless. furthermore these files in the folders don't state if you use an exchange server or anything else.
I switched back to the registry and tried to search through the different profiles. Outlook XP had a specific for a user (fitting $userid) but outlook2k3 only had a string with several varialbes, one of them containing the account name in the form "firstname.familyname" and as the $userid in the company is "familyname" + "first letter firstname" i don't know how to convert and subsequently check if this profile exists for the user
Does anyone know any workaround for the problem or can give me hints what i can do here?
_________________________
-=If you absolutly believe you can make up talent with hard work, there is no limit to what you can't achieve.=-
|
|
Top
|
|
|
|
#166269 - 2006-08-23 02:33 PM
Re: Outlook XP/2003 Exchange - Find out User?
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Quote:
I have the feeling that your implementation doesn't help me. I need it so that, no matter what user, he gets his exchange account when he logs on to ANY machine. It seems like your implementation just works as a fixed profile (which, to be honest, was almost the easiest part in this)
Why do you think that?
The user information is not hard-coded. When he logs on to any machine the profile is created if it does not already exist.
As I say, the only problem is that you need to have installed Office on those machines with the transform, so it is something you need to have included in your original package deployment.
|
|
Top
|
|
|
|
#166272 - 2006-08-23 05:04 PM
Re: Outlook XP/2003 Exchange - Find out User?
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Maybe I'm misunderstanding you.
The default profile is the one that the user is going to use - normally you only have one profile active and that id the default profile.
Within each profile there are a number of services, one of which will be exchange.
I'm also confused by an earlier statement:
Quote:
I have tried to solve this with the registry, but opposed to my hopes, the HKEY_CURRENT_USER Entry (HKCU\Software\Microsoft\Windows NT\Windows Messaging Subsystem\Profiles) has the profiles of every user in there
This is not correct. HKCU will only have the profiles of the current logged in user.
Is it the profile that you are trying to find, or the service?
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 484 anonymous users online.
|
|
|