CimUser (object)

Contains the properties of a user.
Description: The CimUser is an object that represents a CIMPLICITY user.

Examples

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim users As CimUserList
Dim user As CimUser
Set users = project.Users
Set user = users.New("JSMITH")
user.RoleID = "OPER"
user.PasswordNeeded = True
user.Password = "JIM"
user.Enabled = True
user.PasswordExpiresDays = 0
user.UserName = "John Smith"
user.resources.AddAll
users.Save user, False
Properties: Enabled , ID , Password , PasswordExpiresDays , PasswordNeeded , Resources , RoleID , UserName
Methods: