Possible to set user role(s) with LDAP?

Hi there,

Would it be or is it possible to have user roles defined when using LDAP?

For example, to create a new user in LDAP database and assign that user as a guest or admin in Rocket Chat?

Thanks.