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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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