Salesforce Fact #682 | IsPortalEnabled
How to check whether a user is a community user in code. There is a boolean field on User object named 'IsPortalEnabled' which indicates whether an active, external user has access to experience sites or portals.
This field can be accessed in flows and triggers to check the user context.
Comments
Post a Comment