func (u *User) String() string {
	if u.AuthDomain != "" && strings.HasSuffix(u.Email, "@"+u.AuthDomain) {
		return u.Email[:len(u.Email)-len("@"+u.AuthDomain)]
	}
	if u.FederatedIdentity != "" {
		return u.FederatedIdentity
	}
	return u.Email
}
func (u *User) String() string {
	if u.AuthDomain != "" && strings.HasSuffix(u.Email, "@"+u.AuthDomain) {
		return u.Email[:len(u.Email)-len("@"+u.AuthDomain)]
	}
	if u.FederatedIdentity != "" {
		return u.FederatedIdentity
	}
	return u.Email
}
func ( u * User ) String ( ) string { if u . AuthDomain != " " && strings . HasSuffix ( u . Email , " " + u . AuthDomain ) { return u . Email [ : len ( u . Email ) - len ( " " + u . AuthDomain ) ] } if u . FederatedIdentity != " " { return u . FederatedIdentity } return u . Email }
// String returns a displayable name for the user.
String returns a displayable name for the user .