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

View Source

V1UserInfo()

Declaration
public V1UserInfo()
View Source

V1UserInfo(V1UserInfo)

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

Properties

View Source

EqualityContract

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

Extra

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>>
View Source

Groups

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>
View Source

Uid

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
View Source

Username

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

View Source

Equals(object?)

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

Equals(V1UserInfo?)

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

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

View Source

operator ==(V1UserInfo?, V1UserInfo?)

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

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>
  • View Source
In this article
Back to top Generated by DocFX