user1592470
user1592470

Reputation: 401

get Custom Field Type

I'm trying to get the type of the custom fields I declared for the user...

int type = user.getExpandoBridge().getAttributeType(attribute);

The fact is that the function returns an Integer. There's any place where I can find the match between the identifiers(int type) and their type names?

Thank you, Oriol

Upvotes: 0

Views: 190

Answers (1)

Olaf Kock
Olaf Kock

Reputation: 48057

I believe you're looking for ExpandoColumnConstants.* (javadoc)

Upvotes: 1

Related Questions