By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,843 Members | 2,311 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,843 IT Pros & Developers. It's quick & easy.

IsLogin problem

P: n/a
The islogin method of SQLDMO is giving me a problem. when i run it on
local machine where sql server is installed then it returns false even
if user login exists, wehereas when i use it for a remote sql server
machine then it behaves correctly. any suggestions?

Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

<ar********@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
The islogin method of SQLDMO is giving me a problem. when i run it on
local machine where sql server is installed then it returns false even
if user login exists, wehereas when i use it for a remote sql server
machine then it behaves correctly. any suggestions?


Can you post some code that shows the problem? IsLogin is not used to test
if a login already exists, it's used to test if a login name is valid before
you create it; if you want to see if a login exists, you would need to use
the Logins collection.

Simon
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.