AuthenticablePrincipal::PermittedLogonTimes Property

 

Gets or sets the times when the principal can logon.

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

public:
property array<unsigned char>^ PermittedLogonTimes {
	array<unsigned char>^ get();
	void set(array<unsigned char>^ value);
}

Property Value

Type: array<System::Byte>^

The permitted logon times for this account.

Exception Condition
InvalidOperationException

The underlying store does not support this property.

.NET Framework
Available since 3.5

System.DirectoryServices.AccountManagement
AuthenticablePrincipal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top
Show: