如何更新身份声明值 [英] How can I update identity claims value

查看:48
本文介绍了如何更新身份声明值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,当我更改包含图像的个人资料数据时,所有内容都已成功更新。

在标题中我放置了图像图标和用户名,该图标来自身份,同时未更新我的个人资料。

当我退出并登录应用程序然后更新新图像和用户名。

请任何人帮助这个我想在同一时间更新我更改我的个人资料图片和名称



我尝试过:



我希望更新用户在其标题上的更改标识,其中包含图像图标和用户名的标题。

解决方案

您好

如果没有您的代码我们无法帮助您,但是:

如果您使用asp.net控件来获取用户图像,并且他的名字如< asp:image>你必须在'Onpage_Load()'方法中为它们设置值,并在配置文件信息更新后刷新页面。



如果你使用的是html标签,你可以使用javascript为你的变量设置值,使用document.ready()方法。



你必须确定代码和解决方案的一部分才能获得最大帮助。

In my application when i change my profile data including image all are updated successfully.
In header i placed image icon and user name which is comes from identity and same time its not updated with respect to my profile.
when i log out and login into application then new image and user name updated.
please anyone help regarding this i want to update at a same time when i change my profile image and name

What I have tried:

I want to update identity with respect to changes by user on his profile on header where image icon and user name is there.

解决方案

Hello
We could NOT help you without your codes, But:
if you are using asp.net controls for user image and his name like <asp:image> you have to set value for them in 'Onpage_Load()' method and refresh page once the profile information gets updated.

and if you are using html tags, you can use javascript to set value for your variables, using document.ready() method.

you have to determine you code and part of your solution to get maximum help.


这篇关于如何更新身份声明值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆