RetrieveAadUserRoles Function

Retrieves the roles an Azure Active Directory user has through direct assignment, or via team memberships.


Parameters allow for data to be passed to the function.

Name Type Nullable Unicode Description
Edm.Guid False True Azure Active Directory Object ID (Azure AD ID) of the user.

Return Type

Type Nullable Description
Collection( role ) False The RetrieveAadUserRoles function returns the following value.


Use the RetrieveAadUserRoles function with this entity type:

Name Display Name Description
role Security Role Grouping of security privileges. Users are assigned roles that authorize their access to the Microsoft CRM system.

See also