Engine.NewUser

Syntax

Engine.NewUser( userProfile)

Return Value

User

Purpose

Creates and returns a new User object.

Remarks

Typically, only the sequence editor uses this method.

Parameters

userProfile As User

[In] Specifies a User object with which to create the new user. The new user inherits the privileges from the User object the userProfile parameter specifies. The new user is not added as a member of any user groups of which the User object is a member.

Pass a NULL reference if you want to create a NewUser object without using a user profile. The new user inherits the default values as specified by the User standard data type.

You can obtain user groups using the Engine.GetUserGroup method.

See Also

Engine.CurrentUser

Engine.GetUser

Engine.GetUserGroup

User

UsersFile