public async Task <IList <IUserClaim> > GetClaimsByUser(int siteId, string userId, CancellationToken cancellationToken = default(CancellationToken))
        {
            cancellationToken.ThrowIfCancellationRequested();
            DbDataReader reader = await dbUserClaims.GetByUser(siteId, userId);

            return(LoadClaimListFromReader(reader));
        }
示例#2
0
        public async Task<IList<IUserClaim>> GetClaimsByUser(int siteId, string userId)
        {
            DbDataReader reader = await dbUserClaims.GetByUser(siteId, userId);
            return LoadClaimListFromReader(reader);

        }