Wow.  That sucks.  I hit something (who knows what) and gmail sent the damn
thing before I could finish it.  My apologies.  Let me try again.

<cffunction name="configAfterNew" returntype="void">
     <cfscript>
          setCurrentUserName(getUserName());
     </cfscript>
</cffunction>

<cffunction name="getCurrentUserName" returntype="string">
     <cfscript>
          if ( structKeyExists(instance,"CurrentUserName" ) {
               return instance.currentUserName;
          } else {
               return "";
          }
     </cfscript>
</cffunction>

<cffunction name="getCurrentUserName" returntype="string">
     <cfargument name="currentUserName" required="yes" />

     <cfset instance.currentUserName = arguments.currentUserName />
</cffunction>

Now that I have that in place, all I have to do to find out if the UserName
has changed is compare User.getUserName() to User.getCurrentUserName().

HTH

--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to