User

The User class enables Centrify to associate existing Active Directory user accounts with UNIX profiles that contain the attributes required for users to log on to UNIX computers.

Syntax

public interface IUser

Discussion

These additional UNIX-specific attributes that make up the UNIX profile for an Active Directory user are stored and managed within the UserUnixProfile object.

Methods

The User class provides the following methods:

This method Does this

AddUnixProfile

Adds a new UNIX profile for a user to the specified zone.

Commit

Commits the changes to the User object and saves them in Active Directory.

CommitWithoutCheck

Commits the changes to the User object without validating any of the data before saving.

GetDirectoryEntry

Returns an instance of the DirectoryEntry for the user from Active Directory.

GetRoleAssignmentsFromDomain

Returns the collection of all role assignments for a user in a specified domain.

GetRoleAssignmentsFromForest

Returns the collection of all role assignments for a user in a specified forest.

Refresh

Reloads the data in the cache from Active Directory.

Properties

The User class provides the following properties:

This property Does this

AdsiInterface

Gets the ADSI interface of the user object in Active Directory.

ADsPath

Gets the LDAP path to the Active Directory user object.

ID

Gets the UID for the user as a string.

UnixProfiles

Gets the collection of UNIX profiles for the user.