Utility Library Methods for Account Attribute

Hi,
Greetings of the day.

Can you explain the below methods with example for input arguments and what type of object it will return.

  • String getAccountAttribute(String applicationName, String nativeIdentity, String attribute)
  • String getAccountAttribute(Account account, String attribute)

Will I be able to get entitlements for an identity using the above methods?