Pull user with custom code

How can I pull user data (from memberships) so I can use custom code?

It would be helpful if you expanded on your post. Take a look at the requirements for this category.