CimUserList (object)

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

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: Count , Item
Methods: Delete , New , Save