Top "Identity" questions

An inherent property of an entity that distinguishes that entity from all others.

ASP.NET Identity 2.0 check if current user is in role IsInRole

With ASP.NET Identity 2.0 how do you check if the currently logged on user is in a role? I am …

c# asp.net identity
How do you find the users name/Identity in C#

I need to programatically find the users name using C#. Specifically, I want to get the system/network user attached …

c# .net windows-authentication identity
SQL Server Reset Identity Increment for all tables

Basically I need to reset Identity Increment for all tables to its original. Here I tried some code, but it …

sql identity reset
Getting new IDs after insert

I'm inserting a bunch of new rows into a table which is defined as follows: CREATE TABLE [sometable]( [id] [int] …

sql sql-server insert identity
Why does WCF complain over identity check failure?

I'm creating a WCF application where I'll be using certificates to encrypt the communication between the client and server. In …

wcf dns certificate identity
Can't perform Create, Update or Delete operations on Table because it has no primary key

I've been trying to insert row in the table having an identity column RequestID (which is primary key as well) …

linq insert identity
SQL identity (1,1) starting at 0

I have a SQL table with an identity set: CREATE TABLE MyTable( MyTableID int IDENTITY(1,1) NOT NULL, RecordName nvarchar(100) NULL) …

sql sql-server tsql identity dbcc
User.Identity.GetUserId() returns null after successful login

I've defined a temp variable to get current user id, it always returns null. Here is the snapshot: Why? UPDATE: // // …

c# asp.net-mvc asp.net-mvc-5 identity
how to get an openstack token and validate it?

I followed this guide: http://keystone.openstack.org/api_curl_examples.html and it seemed that I got a valid …

token identity openstack
What is the purpose of the ConcurrencyStamp column in the AspNetUsers table in the new ASP.NET MVC 6 identity?

What is the purpose of the ConcurrencyStamp column in the AspNetUsers table in the new ASP.NET MVC 6 identity? This …

asp.net-mvc concurrency database-schema identity asp.net-core-mvc