Freigeben über


Remove Employee

The sample application performs the following tasks in the order listed below when, for example, an employee is no longer working.

Find the User Account

Disable the Account

Expire the Account

Finds the Groups for this User Account

Remove the User Account from a Group

Delete the User Account

See Also

Reference

System.DirectoryServices.AccountManagement

Concepts

About System.DirectoryServices.AccountManagement
Using System.DirectoryServices.AccountManagement

Send comments about this topic to Microsoft.

Copyright © 2008 by Microsoft Corporation. All rights reserved.