Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Get logged user name using web services
Hi all,
as with my previous thread, my apologies in advance since I'm a newbie in NetSuite platform.
I was able to build a successful custom login page using .NET and NetSuite Web Services. Like most restricted areas on web sites out there, I'd like to show the logged user name and role name, and eventually a drop down box so users could switch roles.
I noticed that the sessionInfo object has a userId property, which turned not to be my user id in NetSuite. Also, I was not able to find an easy way to get my user record - if it is possible to do it. I tried to look for myself as a contact, for instance, using this userID as internalID, and I got a "record not exists" error. Is the only way to search for my name in customers, employees and contacts?