Compatible from SQL Server 2005
Verify if required login exists and affect workflow. This is simple query to catalog view sys.server_principals . Checking for existence of principal with given name. So this is useful in workflows where you need to create or drop logins from your program.