Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Single search to find either contact or employee?
I'm building a Single Sign On system for my site and another system we use. The idea is that the other system will automatically redirect to my SSO script, and that script checks login information against NetSuite.
The first check is whether the email address used during login belongs to an employee record (current done with API EmployeeSearch), and my .NET (C#) method returns a bool.
If that returned value is 'false', i.e. the email address does NOT belong to an employee, a second check is done to see if the logged in contact has the appropriate access. This is done via CustomRecordSearchAdvanced using a saved search.
0