@Override
  @Deprecated
  public Set<Role> getRoles() {

    if (getGroups() == null) {
      return Collections.emptySet();
    }
    return getGroups().stream().map(InternalRole::getRole).collect(Collectors.toSet());
  }
Returns this client member's durable attributes or null if no durable attributes were created.
geode-core/src/main/java/org/apache/geode/distributed/internal/membership/InternalDistributedMember.java