User Object

Crystal Enterprise User PlugIn Library
See Also  

The User object is used to determine the specific behavior of each user. It is the top level object in the User plugin, and it is returned by default when you use the PluginInterface Property.

Use the User object to change the password settings for a specific user. Use the properties in the Crystal Enterprise secEnterprise PlugIn Library to set the global password options for native Enterprise users. Password options for third-party accounts are set through your external systems.

Properties

Property Description

Aliases Property

Returns a collection of user aliases. Read-Only.

AllowChangePassword Property

Allows the user to change his or her password.

ChangePasswordAtNextLogon Property

Forces the user to change the password at the next logon.

Connection Property

Specifies how the user is licensed.

FullName Property

The full name of the user.

Groups Property

Returns a collection of the groups that the user belongs to. Read-Only.

NewPassword Property

Sets a new password without requiring an old password. Write-Only.

PasswordExpires Property

Allows the password to expire.

Methods

Method Description

ChangePassword Method

Changes the password, but only if the old password matches the user's current password.

GetProfileString Method

Gets a string value from the user's profile, given a specified name.

SetProfileString Method

Adds a string to the user's profile.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com