[_private/nddisc_ahdr.htm]

Re: User profile in a formula

From: Prabhu PJS [ prabhu@genius.tisl.soft.net
Category: Category 1
Date: 15 May 1998
Time: 10:40:21
Remote Name: 202.135.17.81

Comments

Hi ! When you create the User Profile create it with the following formula :

@Command([EditProfile];"ProfileFormName";@UserName)

This will create the Profile for that specific user.

Then in your action you can retreive one of the field values from the UserProfile and then check for that field value. For Eg :

AC := @GetProfileField("ProfileFormName";"ProfileFieldName";@Username); If AC <> "YES" Tell him he is not authorised to do the Action Exit Endif Continue with the Normal Operation. Hope this helps you. Regards - Prabhu PJS

[_private/nddisc_aftr.htm]