Share via

IUserStore<TUser, TKey> Interface


Defines the methods for user management APIs.

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)


public interface IUserStore<TUser, in TKey> : IDisposable
where TUser : class, IUser<TKey>
generic<typename TUser, typename TKey>
where TUser : ref class, IUser<TKey>
public interface class IUserStore : IDisposable
type IUserStore<'TUser, 'TKey when 'TUser : not struct and IUser<'TKey>> = 
        interface IDisposable
Public Interface IUserStore(Of TUser As { Class, IUser(Of TKey) }, In TKey)
    Inherits IDisposable

Type Parameters

  • TUser
    The type of the user.
  • in TKey
    The type of the keys.


Name Description
System_CAPS_pubmethod CreateAsync(TUser)

Asynchronously inserts a new user.

System_CAPS_pubmethod DeleteAsync(TUser)

Asynchronously deletes a user.

System_CAPS_pubmethod Dispose()

(Inherited from IDisposable.)

System_CAPS_pubmethod FindByIdAsync(TKey)

Asynchronously finds a user using the specified identifier.

System_CAPS_pubmethod FindByNameAsync(String)

Asynchronously finds a user by name.

System_CAPS_pubmethod UpdateAsync(TUser)

Asynchronously updates a user.

See Also

Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top