TestimoX

API Reference

Class

GuestAccountService

Namespace ADPlayground.Infrastructure
Assembly ADPlayground
Modifiers static

Provides helper methods to retrieve Guest account status snapshots.

Inheritance

  • Object
  • GuestAccountService

Methods

public static Task<GuestAccountSnapshot> GetSnapshotAsync(String domainName, CancellationToken cancellationToken = null) #
Returns: Task<GuestAccountSnapshot>

Resolves the Guest account status for a domain.

Parameters

domainName System.String requiredposition: 0
Target domain DNS name or null for the current domain.
cancellationToken System.Threading.CancellationToken = null optionalposition: 1
Cancellation token for the operation.

Returns

Snapshot indicating whether the Guest account is enabled and if it was resolvable.