ServiceStack does not have a built-in service that returns roles and user permissions, but it's easy enough to create your own service for this, for example, you can read it from a session using something like:
public class MyService : Service { public object Get(UserRoles request) { var session = this.GetSession(); return new UserRolesResponse { Roles = session.Roles, Permissions = session.Permissions, }; } }
Example admin service to return all users. For Auth information, see SocialAppage SocialBoostrap .
mythz source share