| ||||
CreateUser2 methodAdds a new user to the facility's member list. This method is an enhanced version of the CreateUser method. Syntax
ParametersFirstNameThe new member's first name. See the FirstName property. MiddleNameThe new member's middle name. See the MiddleName property. LastNameThe new member's last name. See the LastName property. LoginNameThe new member's login name. See the LoginName property. DisplayNameThe new member's display name. See the DisplayName property. EmailAddressThe new member's email address. See the EmailAddress property. PasswordThe new member's login password. This parameter is ignored if you specify the erCreateUserSelfSetInitialPassword option for the UserOptions parameter. UserOptionsUser create options. See the ERUCreateUserOptions enumeration. ppMemberUpon return, an IERUMember interface pointer to the newly-added member. Return value
RemarksUsing CreateUser2 to add members to the facility's member list does not automatically add them to that facility's eRooms. Add members to an eRoom with the AddMember method. The first name, middle name, last name, login name, and password parameters can contain no more than 126 characters apiece. To add a group to the facility's member list, use the CreateGroup method. |
Home |