Author: blindmuck | Posted on: 8/25/2009 1:00:20 PM | Views : 411

 Hello all, I am trying to capture the RoleID of the current user that is logged in.  Right now I am using a static RoleID in my code.
 
Thanks for the help
 
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then Dim f As New FileAttribute Me.GridView1.DataSource = f.SelectActiveFilesByRoleId(New Guid("5ef9025f-7497-49a2-81b7-418594f099ba")) Me.DataBind() End If End Sub
 
...

Go to the complete details ...