Click or drag to resize
UserRoleInfoProviderGetUserRoles Method

Note: This API is now obsolete.

Returns the query for all relationships between users and roles.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IUserRoleInfoProvider.Get() instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - UserRoleInfo.Provider.")]
public static ObjectQuery<UserRoleInfo> GetUserRoles()

Return Value

Type: ObjectQueryUserRoleInfo
See Also