DOCS-2243 add getRole and getRoles methods

READY FOR REVIEW !