UserPrincipal.EmployeeId Property

 

Gets or sets the employee ID for this user principal.

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

public string EmployeeId { get; set; }

Property Value

Type: System.String

The employee ID of the user principal.

Exception Condition
InvalidOperationException

The underlying store does not support this property.

.NET Framework
Available since 3.5

System.DirectoryServices.AccountManagement
UserPrincipal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top
Show: