# Method Pike.Security.Creds()->apply()

Method apply

  ``void` apply(`object`|`program`|`function`(:`void`)|`array`|`mapping`|`multiset` `o`)`

Description

  Set the credentials for `o` to this credentials object.

Note

  To perform this operation the current credentials needs to have the bit BIT_SECURITY set, or have the same user as the old credentials and not change the user by performing the operation.