API Reference
Class
MsasCredentialService
Provides credential hygiene categorization for managed service accounts (MSA/gMSA). Returns compact lists for pre‑auth disabled, AES disabled, and RC4‑only encryption.
Inheritance
- Object
- MsasCredentialService
Methods
public static MsasCredentialSnapshot GetSnapshot(String domainName, CancellationToken ct = null) #Returns:
MsasCredentialSnapshotComputes MSA/gMSA credential hygiene posture for the specified domain synchronously.
Parameters
- domainName System.String
- DNS domain name.
- ct System.Threading.CancellationToken = null
- Cancellation token.
public static async Task<MsasCredentialSnapshot> GetSnapshotAsync(String domainName, CancellationToken ct = null) #Returns:
Task<MsasCredentialSnapshot>Computes MSA/gMSA credential hygiene posture for the specified domain.
Parameters
- domainName System.String
- ct System.Threading.CancellationToken = null