GetUserProfiles

Returns all the profiles for the specified user.

Syntax

IUserUnixProfiles GetUserProfiles(DirectoryEntry userDE)
IUserUnixProfiles GetUserProfiles(SearchResult userSR)
IUserUnixProfiles GetUserProfiles(string userDn)
IUserUnixProfiles GetUserProfiles(IAdsUser userIAds)

Parameters

Specify one of the following parameters when using this method.

Parameter Description

userDE

The directory entry for the user for which you want the profiles.

userSr

The directory entry for a user specified as a search result.

userDn

The user specified as a distinguished name.

userIads

The IADs interface to the user.

Return value

The collection of user UNIX profiles.

Exceptions

GetUserProfiles throws an ArgumentNullException if the parameter is null or the user does not exist.