OK, that was way too simple. Thanks. Wouldn’t have found it unless I knew what I was looking for.
After searching around for this function (and a comment from Burt), I see there are a few others in bp-core.php. Is there any listing of functions that take user_id or group_id and return information? I searched the “Docs” to no avail.