CimUserList (object)

Contains a list of users.
Description: The CimUserList object is an enumeration of the users in the project.


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"
users.Save user, False
Properties: Count , Item
Methods: Delete , New , Save