AWS SDK for .NET Documentation
ListRoles Method
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceListRoles()()()() Did this page help you?   Yes   No    Tell us about it...
Lists the roles that have the specified path prefix. If there are none, the action returns an empty list. For more information about roles, go to Working with Roles.

You can paginate the results using the

CopyC#
MaxItems
and
CopyC#
Marker
parameters.

The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.

Declaration Syntax
C#
ListRolesResponse ListRoles()
Return Value
The response from the ListRoles service method, as returned by IdentityManagementService.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)