Show / Hide Table of Contents

Class V1UserInfo

UserInfo holds the information about the user needed to implement the user.Info interface.

Inheritance
object
V1UserInfo
Implements
IEquatable<V1UserInfo>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1UserInfo : IEquatable<V1UserInfo>

Constructors

V1UserInfo()

Declaration
public V1UserInfo()

V1UserInfo(V1UserInfo)

Declaration
protected V1UserInfo(V1UserInfo original)
Parameters
Type Name Description
V1UserInfo original

Properties

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

Extra

extra is any additional information provided by the authenticator.

Declaration
[JsonPropertyName("extra")]
public IDictionary<string, IList<string>> Extra { get; set; }
Property Value
Type Description
IDictionary<string, IList<string>>

Groups

groups is the names of groups this user is a part of.

Declaration
[JsonPropertyName("groups")]
public IList<string> Groups { get; set; }
Property Value
Type Description
IList<string>

Uid

uid is a unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.

Declaration
[JsonPropertyName("uid")]
public string Uid { get; set; }
Property Value
Type Description
string

Username

username is the name that uniquely identifies this user among all active users.

Declaration
[JsonPropertyName("username")]
public string Username { get; set; }
Property Value
Type Description
string

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1UserInfo?)

Declaration
public virtual bool Equals(V1UserInfo? other)
Parameters
Type Name Description
V1UserInfo other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1UserInfo?, V1UserInfo?)

Declaration
public static bool operator ==(V1UserInfo? left, V1UserInfo? right)
Parameters
Type Name Description
V1UserInfo left
V1UserInfo right
Returns
Type Description
bool

operator !=(V1UserInfo?, V1UserInfo?)

Declaration
public static bool operator !=(V1UserInfo? left, V1UserInfo? right)
Parameters
Type Name Description
V1UserInfo left
V1UserInfo right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX