SimpleMembershipProvider.GetUserNameFromId(Int32) SimpleMembershipProvider.GetUserNameFromId(Int32) SimpleMembershipProvider.GetUserNameFromId(Int32) Method

Definition

Returns the user name that is associated with the specified user ID.

public override string GetUserNameFromId (int userId);
override this.GetUserNameFromId : int -> string
Public Overrides Function GetUserNameFromId (userId As Integer) As String

Parameters

userId
Int32 Int32 Int32

The user ID to get the name for.

Returns

The user name.

Applies to