Converting Internet name into LOtus Notes Name

Hi…

I wanted to convert the internet names into the lotus notes convention,

e.g maheshkr@test.com to mahesh kay ray /test/com…

Using @name…it is not possible…

how can i do…please help

Subject: converting Internet name into LOtus Notes Name

serv := @Subset(@MailDbName; 1);inet := @LowerCase(“Maheshkr@Test.com”);

look := @DbLookup(“”; serv : “names.nsf”; “($Users)”; inet; “FullName”);

cn := @Name([CN]; @Subset(look; 1));

@Prompt([Ok]; “User’s common name …”; cn)

Subject: RE: converting Internet name into LOtus Notes Name

Hi…Thanks…

I had already used this formula…

there is some problem over here…

If i change the location document . and Mail File Location as Local…

then @maildbname returns null… becuase it is local…

Subject: RE: converting Internet name into LOtus Notes Name

that is correct. that’s done in case the user works remotely and/or offline. Try this instead:

serv := @LocationGetInfo([HOMESERVER]);

inet := @LowerCase(“Maheshkr@Test.com”);

look := @DbLookup(“”; serv : “names.nsf”; “($Users)”; inet; “FullName”);

cn := @Name([CN]; @Subset(look; 1));

@Prompt([Ok]; “User’s common name …”; cn)

Subject: RE: converting Internet name into LOtus Notes Name

Many Thanks Paul …It worked…

Any idea , how same thing can be done in web…