ข้ามไปยังเนื้อหาหลัก ข้ามไปยังประสบการณ์แชทกับ Ask Learn

เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป

อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค

ดาวน์โหลด Microsoft Edge ข้อมูลเพิ่มเติมเกี่ยวกับ Internet Explorer และ Microsoft Edge
อ่านในภาษาอังกฤษ

หมายเหตุ

การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้

การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้

ในบทความนี้

Security Functions (Transact-SQL)

The following functions return information that is useful in managing security.

CURRENT_USER (Transact-SQL)

SCHEMA_ID (Transact-SQL)

DATABASE_PRINCIPAL_ID (Transact-SQL)

SCHEMA_NAME (Transact-SQL)

sys.fn_builtin_permissions (Transact-SQL)

SESSION_USER (Transact-SQL)

sys.fn_my_permissions (Transact-SQL)

SUSER_ID (Transact-SQL)

HAS_PERMS_BY_NAME (Transact-SQL)

SUSER_SID (Transact-SQL)

IS_MEMBER (Transact-SQL)

SUSER_SNAME (Transact-SQL)

IS_SRVROLEMEMBER (Transact-SQL)

SYSTEM_USER (Transact-SQL)

ORIGINAL_LOGIN (Transact-SQL)

SUSER_NAME (Transact-SQL)

PERMISSIONS (Transact-SQL)

USER_ID (Transact-SQL)

PWDCOMPARE (Transact-SQL)

USER_NAME (Transact-SQL)

PWDENCRYPT (Transact-SQL)

For information about Windows groups that have logins, see xp_logininfo (Transact-SQL) and xp_enumgroups (Transact-SQL).

See Also

Reference

Security Stored Procedures (Transact-SQL)

Cryptographic Functions (Transact-SQL)

Built-in Functions (Transact-SQL)

Security-Related Dynamic Management Views and Functions (Transact-SQL)

Security Catalog Views (Transact-SQL)

Concepts

Security Statements


แหล่งทรัพยากรเพิ่มเติม


  • อัปเดตล่าสุดเมื่อ 2012-10-04

ในบทความนี้

th-th
ตัวเลือกความเป็นส่วนตัวของคุณ
  • ข้อสงวนสิทธิ์ของ AI
  • เวอร์ชันก่อนหน้านี้
  • บล็อก
  • สนับสนุน
  • ความเป็นส่วนตัว
  • ความเป็นส่วนตัวด้านสุขภาพของผู้บริโภค
  • ข้อกำหนดการใช้
  • เครื่องหมายการค้า
  • © Microsoft 2026