API Reference
Class
GuestAccountService
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
- Target domain DNS name or null for the current domain.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token for the operation.
Returns
Snapshot indicating whether the Guest account is enabled and if it was resolvable.