GetWindowsUser

Returns a Windows user object.

Syntax

IWindowsUser GetWindowsUser(IADs user)

Parameter

Specify the following parameter when using this method:

Parameter Description
user The IADs interface to the user object you want to retrieve.

Return value

The user object as:

Centrify.DirectControl.API.IUser

Exceptions

GetWindowsUser throws an ArgumentException if the parameter is null or empty.

Discussion

This method uses the IADs interface to locate the user object. The IADs interface is the directory object that represents the user in Active Directory. The IADs object is useful for retrieving Active Directory-specific information, such as the site, for a user.

The method returns the user object as Centrify.DirectControl.API.IUser. You can then use the IUser object to retrieve IBM Security-specific information.