$id
$id : integer
User_ID
This class handles user-specific interactions.
$info : \Blackpulp\MinistryPlatform\StoredProcedureResult
An object that contains helpful information about the user.
$mp : \Blackpulp\MinistryPlatform\MinistryPlatform
An instance of the core MinistryPlatform object
__construct( $mp, \SimpleXMLElement $user, string $username = "", string $user_guid = "") : void
Create the User object
| $mp | ||
| \SimpleXMLElement | $user | Response from MP Authenticate method |
| string | $username | If the MP AuthenticateUser() API call was used, the username must be supplied. |
| string | $user_guid | If the MP AuthenticateGUIDs() API call was used, the guid must be supplied instead. |
getInfo() : \Blackpulp\MinistryPlatform\StoredProcedureResult
Get contact and user info about the user.
Also returns lookup tables for Genders, Marital Statuses, Prefixes, and Suffixes.