![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DotNetNure
xzlyzgzs
没什么爱好 听听音乐敲敲代码尔~~
展开
-
DNN 代码设置角色
RoleController rc = new RoleController();//角色控制类ArrayList list = rc.GetRoles(); // 取得整个DNN所有的角色for (int i = 0; i { //根据角色名取得角色信息 RoleInfo role = rc.GetRoleByName(0, list[i].ToSt原创 2009-05-21 15:44:00 · 613 阅读 · 0 评论 -
DNN 自动注册用户名密码
Public Sub CreateUser(ByVal username As String, ByVal userpwd As String, ByVal name As String) If Me.GetUserName(username) Then Dim ums As New UserMembership()原创 2009-05-21 15:41:00 · 761 阅读 · 0 评论