Share via


ExtendedMembershipProvider.GetUserNameFromId(Int32) Method

Definition

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

public virtual string GetUserNameFromId (int userId);
abstract member GetUserNameFromId : int -> string
override this.GetUserNameFromId : int -> string
Public Overridable Function GetUserNameFromId (userId As Integer) As String

Parameters

userId
Int32

The user ID to get the name for.

Returns

The user name.

Applies to