You need to sign in to do that
Don't have an account?
Prabhat Singh 56
Is there a way to regulate access to this method?
hello Team,
Is there a way to regulate access to this method? Like a permission in a profile or permission set? Or only give a specific user access to this method?
Thanks
Is there a way to regulate access to this method? Like a permission in a profile or permission set? Or only give a specific user access to this method?
Thanks
List<PermissionSetAssignment> permSetAssList = [SELECT PermissionSetId FROM PermissionSetAssignment WHERE AssigneeId= :UserInfo.getUserId() AND PermissionSet.Name = 'EntityFasadUser'];
if (permSetAssList.size() > 0) {
callTheMethod()
}