AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IACL.AddUserEntry Method

Adds a user entry to this ACL.

IACLEntry AddUserEntry(
int userID,
AccessLevel accessLevel
);

#### Parameters

userID
  The user ID of the user to add.
accessLevel
  The access level to grant.

#### Return Value

The previous `ACLEntry` specified for this user, `null` if there was no previous entry.

#### Exceptions

Exception Type | Condition
--- | ---
ACLEntryReadOnlyException | The user already has a read-only entry set.
ArgumentException | An invalid user ID was passed.

#### See Also

IACL Interface | Plumtree.Remote.PRC Namespace