CimUserList.Item (read-only property)

Gets a user by name.
Syntax: Set CimUser = object.Item ( UserID )
Parameters:
UserID As String - Users ID to be retrieved.
Description: CimUserList.Item returns a CimUser by name. Use this method to obtain a CimUser object for an existing user 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.Item("JSMITH")
user.Password = "JIM"
users.Save user, False