2009-08-03 17 views

答えて

1

ASP.NETメンバーシッププロバイダを使用していますか?その後、Profile.UserIdになります。

独自のメンバーシップシステムを作成しましたか?

Windowsユーザーの取得についてお話ししていますか? 私はあなたが使用することができると思う:

Request.ServerVariables["LOGON_USER"] 
+0

いいえASP.NETメンバーシッププロバイダを使用していません... 私のシステムからのloginIDが必要です。 ありがとうございます – Kushal

0
I got the answer.and thanks for helping me... 

    Dim strUserId As String 
    Dim aryUserId As String() 
    strUserId = HttpContext.Current.Request.LogonUserIdentity.Name 
    aryUserId = strUserId.Split("\") 
    Response.write(aryUserId(1)) 
関連する問題