Skip to content

Commit e59b03c

Browse files
committed
Learn Editor: Update create-a-login.md
1 parent b50d413 commit e59b03c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/relational-databases/security/authentication-access/create-a-login.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,12 @@ The login can connect to [!INCLUDE [ssNoVersion](../../../includes/ssnoversion-m
297297

298298
- To grant a permission to a login, see [Grant a Permission to a Principal](grant-a-permission-to-a-principal.md).
299299

300+
> [!NOTE]
301+
> When connecting to SQL Server through a Windows or Active Directory (AD) group, certain operations can result in the creation of a login that is a member of the group without the execution of a create login statement. This *implicit* login creation is by design and is intended to maintain referential integrity of the system metadata within SQL Server. The implicit login does not have explicit connect permission to the database so if the login is removed from the group, that login cannot connect by itself.
302+
> Customers may observe such logins being created automatically when performing certain operations as a member of a Windows group. Examples are, *exec sp_defaultdb* and *exe sp_defaultLanguage*, where this could happen.
303+
>
304+
> This behavior is by design and will not be changed. If additional monitoring is required, administrators can implement triggers to detect login creation attempts.
305+
300306
## Related content
301307

302308
- [Security for SQL Server Database Engine and Azure SQL Database](../security-center-for-sql-server-database-engine-and-azure-sql-database.md)

0 commit comments

Comments
 (0)