• How do you logout a user from the server in PHP?

    I want to create a customisation that logs users out after a certain time of inactivity since closing Sugar in their browser (e.g. log out at night). I need this separate from Oauth token lifetimes so that APIs and the Outlook Plugin can still be configured…
  • How do can I get a field from the current user in an entry point?

    Greetings, I added a custom field to the Users and through research I found out that I can get that field by using something like: <?php global $current_user ; $fieldData = $current_user - > my_field_c ; I tested this out on my local instance and it worked…