11 KiB
Types of MSSQL Users
🎙️ HackTricks LIVE Twitch Wednesdays 5.30pm (UTC) 🎙️ - 🎥 Youtube 🎥
- Do you work in a cybersecurity company? Do you want to see your company advertised in HackTricks? or do you want to have access to the latest version of the PEASS or download HackTricks in PDF? Check the SUBSCRIPTION PLANS!
- Discover The PEASS Family, our collection of exclusive NFTs
- Get the official PEASS & HackTricks swag
- Join the 💬 Discord group or the telegram group or follow me on Twitter 🐦@carlospolopm.
- Share your hacking tricks by submitting PRs to the hacktricks repo and hacktricks-cloud repo.
Table taken from the docs.
Column name | Data type | Description |
---|---|---|
name | sysname | Name of principal, unique within the database. |
principal_id | int | ID of principal, unique within the database. |
type | char(1) | Principal type: |
type_desc | nvarchar(60) | Description of principal type. |
default_schema_name | sysname | Name to be used when SQL name does not specify a schema. Null for principals not of type S, U, or A. |
create_date | datetime | Time at which the principal was created. |
modify_date | datetime | Time at which the principal was last modified. |
owning_principal_id | int | ID of the principal that owns this principal. All fixed Database Roles are owned by dbo by default. |
sid | varbinary(85) | SID (Security Identifier) of the principal. NULL for SYS and INFORMATION SCHEMAS. |
is_fixed_role | bit | If 1, this row represents an entry for one of the fixed database roles: db_owner, db_accessadmin, db_datareader, db_datawriter, db_ddladmin, db_securityadmin, db_backupoperator, db_denydatareader, db_denydatawriter. |
authentication_type | int | Applies to: SQL Server 2012 (11.x) and later. |
authentication_type_desc | nvarchar(60) | Applies to: SQL Server 2012 (11.x) and later. |
default_language_name | sysname | Applies to: SQL Server 2012 (11.x) and later. |
default_language_lcid | int | Applies to: SQL Server 2012 (11.x) and later. |
allow_encrypted_value_modifications | bit | Applies to: SQL Server 2016 (13.x) and later, SQL Database. |
🎙️ HackTricks LIVE Twitch Wednesdays 5.30pm (UTC) 🎙️ - 🎥 Youtube 🎥
- Do you work in a cybersecurity company? Do you want to see your company advertised in HackTricks? or do you want to have access to the latest version of the PEASS or download HackTricks in PDF? Check the SUBSCRIPTION PLANS!
- Discover The PEASS Family, our collection of exclusive NFTs
- Get the official PEASS & HackTricks swag
- Join the 💬 Discord group or the telegram group or follow me on Twitter 🐦@carlospolopm.
- Share your hacking tricks by submitting PRs to the hacktricks repo and hacktricks-cloud repo.