SimpleMembershipProvider.GetUserNameFromId Method

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

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

public override string GetUserNameFromId(
	int userId
)

Parameters

userId
Type: System.Int32
The user ID to get the name for.

Return Value

Type: System.String
The user name.
Show: