(Windows only) Revokes SAP ASE roles and default permissions from Windows users and groups when Integrated Security mode or Mixed mode (with Named Pipes) is active.
sp_revokelogin {login_name | group_name}
sp_revokelogin jeanluc
sp_revokelogin Administrators
Use sp_revokelogin only when the SAP ASE server is running in Integrated Security mode or Mixed mode, when the connection is Named Pipes. If the SAP ASE server is running in Standard mode, or in Mixed mode using a connection other than Named Pipes, use the revoke command.
If you revoke a user’s roles and default privileges with sp_revokelogin, that user can no longer log into the SAP ASE server over a trusted connection.
See also grant, revoke, setuser in Reference Manual: Commands.
The permission checks for sp_revokelogin differ based on your granular permissions settings.
Setting | Description |
---|---|
Enabled | With granular permissions enabled, you must be a user with manage roles privilege. |
Disabled | With granular permissions disabled, you must be a user with sa_role. |
Values in event and extrainfo columns from the sysaudits table are:
Information | Values |
---|---|
Event | 38 |
Audit option | exec_procedure |
Command or access audited | Execution of a procedure |
Information in extrainfo |
|