Using your own user table in WebApps: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
Typo
(Creating)
 
(Typo)
Line 33: Line 33:
##Replace the line "Set psUsername to (Trim(WebAppUser.FullName))" with "Set psUsername to (Trim({''YourUserTable''}.{''YourUserFullname''}))"  // Optional - otherwise just remove the line
##Replace the line "Set psUsername to (Trim(WebAppUser.FullName))" with "Set psUsername to (Trim({''YourUserTable''}.{''YourUserFullname''}))"  // Optional - otherwise just remove the line
##Replace the line "Set psLoginName to (Trim(WebAppUser.LoginName))" with "Set psLoginName to (Trim({''YourUserTable''}.{''YourIdColumn''}))
##Replace the line "Set psLoginName to (Trim(WebAppUser.LoginName))" with "Set psLoginName to (Trim({''YourUserTable''}.{''YourIdColumn''}))
##Replace the line: "Set piUserRights to WebAppUser.Rights" with "Set piUserRights to {''YourUserTable''}.{''YourRightColumn''}  // Optional - if you don't have a rights column, remove the line.  Note: if you use an ASCII column, rather than a numeric one for this, you will need to add a different property in the Construct_Object procedure of the class - something like "Property String psUserType" and "Set" that instead
##Replace the line: "Set piUserRights to WebAppUser.Rights" with "Set piUserRights to {''YourUserTable''}.{''YourRightsColumn''}  // Optional - if you don't have a rights column, remove the line.  Note: if you use an ASCII column, rather than a numeric one for this, you will need to add a different property in the Construct_Object procedure of the class - something like "Property String psUserType" and "Set" that instead
#Remove all the other methods from your sub-class (they are covered in cWebSessionManagerStandard) :
#Remove all the other methods from your sub-class (they are covered in cWebSessionManagerStandard) :
##CreateSession
##CreateSession

Navigation menu