Export (0) Print
Expand All

ExtendedMembershipProvider.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 virtual 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:
© 2014 Microsoft