How to get activity author in buddypress?

How to get activity author in buddypress? I would like an example too.