星期日, 10月 11, 2009

asp.net 會員機制 取得當前使用者所屬的成員角色


//角色可為多個,因此回傳陣列
string[] tmp = Roles.GetRolesForUser(this.Page.User.Identity.Name.ToString());

沒有留言:

張貼留言

留個話吧:)

其他你感興趣的文章

Related Posts with Thumbnails