UserUnixProfile

The UserUnixProfile class is an information class for managing user information in a specific zone.

Syntax

public interface IUserUnixProfile

Discussion

A user’s zone-specific UNIX profile includes the numeric UID value, numeric GID value, default login shell, and default home directory. The GID can be associated with a standard Active Directory group, a standalone UNIX-only group profile not associated with any Active Directory group, and a local user profile.

Methods

The UserUnixProfile class provides the following methods:

This method Does this

Commit

Commits changes to the user profile to Active Directory.

Delete

Marks the user profile for deletion from Active Directory.

GetDirectoryEntry

Returns the directory entry for the UNIX user profile from Active Directory.

GetPrimaryGroup

Returns the UNIX profile of the primary group of the user.

Refresh

Reloads cached object data from Active Directory.

Validate

Checks whether the user profile contains valid data and can be committed to Active Directory.

Properties

The UserUnixProfile class provides the following properties:

This property Does this

ADsPath

Gets the LDAP path to the UNIX data object.

Cims

Gets the Cims object for the user.

HomeDirectory

Gets or sets the home directory for the user.

ID

Gets the unique identifier for the UserUnixProfile data object.

IsForeign

Indicates whether the Active Directory user associated with a UNIX profile is defined in a different forest than the zone (not applicable to local user profiles).

IsOrphan

Indicates whether this UNIX user is not associated with a corresponding Active Directory user (not applicable to local user profiles).

IsReadable

Indicates whether the Active Directory object is readable.

IsSFU

Indicates whether this UNIX user is an SFU zone profile (not applicable to local user profiles).

IsWritable

Determines whether the Active Directory object is writable.

Name

Gets or sets the UNIX login name of the user.

PrimaryGroup

Gets or sets the GID of the user’s primary group.

ProfileState

Gets or sets the profile state of the local user profile (local user profiles only).

Shell

Gets or sets the default shell for the user.

Type

Gets the UserUnixProfile type for the user.

UnixEnabled

Determines whether the user’s UNIX profile is enabled for access to the zone.

User

Gets the user object associated with this user UNIX profile (not applicable to local user profiles).

UserId

Gets or sets the UNIX user identifier (UID).

Zone

Gets the zone object associated with the user.