foreach(UserRole role in _mg.Security.GetUserRoles())
{
if ( r.Match(role.Name).Success || r.Match(role.DisplayName).Success)
{
WriteObject(role);
}
}
{
if ( r.Match(role.Name).Success || r.Match(role.DisplayName).Success)
{
WriteObject(role);
}
}