SeDeassignSecurity

NTSTATUS
    SeDeassignSecurity(

        IN OUT PSECURITY_DESCRIPTOR  *SecurityDescriptor
        );

SeDeassignSecurity deallocates the memory associated with a security descriptor that was assigned using SeAssignSecurity.

Parameters

SecurityDescriptor
Points to the buffered security descriptor being released.

Return Value

If the deallocation succeeds, SeDeassignSecurity returns STATUS_SUCCESS.

Comments

Callers of SeDeassignSecurity must be running at IRQL PASSIVE_LEVEL.

See Also

SeAssignSecurity