Welcome to the COE Discussion Forum! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.


Register Today
COE 2009 Annual PLM Conference & TechniFair

COE DISCUSSION FORUM
Subject: Problems with getting user's login

You are not authorized to post a reply.   
Author Messages
COE-FORUM-USER

13 Sep 2002 01:38 AM
I need to get user's login by SmartScript. It's easy:

UserRList=RECLST_Create(ah,1)
retcode1=ADMIN_GetCurrentUserAttr(ah, UserRList)
retcode2=RECLST_GetValueByNameAsPchar ah,UserRList,"LOGIN",0,UserLogin$,100,TDMT_CHAR)

It's work. But then I put that script after event ON LOGIN it's don't work. Retcode1=3=ERR_GEN and UserRList is empty. Why? What's the problem?

Sorry for my bad english, hope you understanding me.

Author: Vladislav Skoupski
You are not authorized to post a reply.
Forums > COE Forums > SmarTeam > Problems with getting user's login



ActiveForums 3.6

    

401 North Michigan Avenue, Chicago, IL 60611-4267 | (312) 321-5153 | (800) COE-CALL (U.S.)