---
layout: doc
title: mudlib / set_privs
---
# set_privs

### NAME

    set_privs() - set the privs string for an object

### SYNOPSIS

    void set_privs( object ob, string privs );

### DESCRIPTION

    Sets the privs string for 'ob' to 'privs'.

    This efun is only available if PRIVS is defined at driver compile time.

### SEE ALSO

    privs_file(4), query_privs(3)

