public sealed record LocalGroupMember : IEquatable<LocalGroupMember> A member of a local group.
Parameters
SidThe member's security identifier.
NameThe member as
DOMAIN\name; empty when Windows could not resolve the SID, for example for a deleted account or an unreachable domain.KindThe kind of account.
Constructors
LocalGroupMember
public LocalGroupMember(SecurityIdentifier Sid, string Name, AccountKind Kind) A member of a local group.
Parameters
SidThe member's security identifier.
NameThe member as
DOMAIN\name; empty when Windows could not resolve the SID, for example for a deleted account or an unreachable domain.KindThe kind of account.
Properties
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.