Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IProfileProvider.AttachToUser Method

Gets an `IUser` object used to query for properties on the specified user. Throws a `NoSuchUserException` if the given parameters do not match any user in the backend system.

IUser AttachToUser(
int UserID,
string LoginName,
string UniqueName,
string LastSignature
);

#### Parameters

UserID
  the ID of the user
LoginName
  the portal login name for the user
UniqueName
  the unique name within this profile service
LastSignature
  the portal's last known signature for the user

#### Return Value

an instance of the implementation of the `IUser` interface

#### See Also

IProfileProvider Interface | Plumtree.Remote.Profile Namespace