AuthenticablePrincipal.HomeDrive Property

 

Gets or sets the home drive for this account.

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

public string HomeDrive { get; set; }

Property Value

Type: System.String

The home drive for the account, or null if no home drive exists.

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: