Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IsLogin Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The IsLogin method returns TRUE when the string specified is a valid name string for a Microsoft SQL Server login record.


object
.IsLogin(
LoginName
)
object

Expression that evaluates to an object in the Applies To list.

LoginName

String tested.

HRESULT IsLogin(SQLDMO_LPCSTR szLoginName,
LPBOOL pRetVal);

TRUE if the LoginName argument is a string of valid login record name characters in a valid sequence. FALSE, otherwise.

The IsLogin method determines legality for names when adding logins to an instance of SQL Server.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.