Click or drag to resize
RoleInfoProviderGetRoles Method

Note: This API is now obsolete.

Returns the query for all roles.

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

Return Value

Type: ObjectQueryRoleInfo
See Also