Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously sets the phone number associated with the user.
Namespace: Microsoft.AspNet.Identity Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
Task SetPhoneNumberAsync(
TUser user,
string phoneNumber
)
Task^ SetPhoneNumberAsync(
TUser user,
String^ phoneNumber
)
abstract SetPhoneNumberAsync :
user:'TUser *
phoneNumber:string -> Task
Function SetPhoneNumberAsync (
user As TUser,
phoneNumber As String
) As Task
Parameters
user Type: TUser
The user.
phoneNumber Type: System.String
The user phone number.
Return Value
Type: System.Threading.Tasks.Task
The task object representing the asynchronous operation.
See Also
IUserPhoneNumberStore<TUser, TKey> Interface Microsoft.AspNet.Identity Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.
Return to top