Plumtree EDK (Enterprise Web Development Kit) 5.4.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 | if the user already has a read-only entry set
ArgumentException | if passed an invalid user ID

#### See Also

IACL Interface | Plumtree.Remote.PRC Namespace