LocalGroupMember record

Namespace Runic.Platform.Administration.Windows.Accounts in Runic.Platform.Administration.Windows 0.23.0

public sealed record LocalGroupMember : IEquatable<LocalGroupMember>

Inherits or implements IEquatable.

A member of a local group.

Parameters

Sid

The member's security identifier.

Name

The member as DOMAIN\name; empty when Windows could not resolve the SID, for example for a deleted account or an unreachable domain.

Kind

The kind of account.

Constructors

LocalGroupMember

public LocalGroupMember(SecurityIdentifier Sid, string Name, AccountKind Kind)

A member of a local group.

Parameters

Sid

The member's security identifier.

Name

The member as DOMAIN\name; empty when Windows could not resolve the SID, for example for a deleted account or an unreachable domain.

Kind

The kind of account.

Properties

Kind

public AccountKind Kind { get; init; }

The kind of account.

Name

public string Name { get; init; }

The member as DOMAIN\name; empty when Windows could not resolve the SID, for example for a deleted account or an unreachable domain.

Sid

public SecurityIdentifier Sid { get; init; }

The member's security identifier.