# Sandbox.AuthorityAttribute

Marks a method as being an RPC specifically targeted to the owner of the [Sandbox.GameObject](/api/Sandbox.GameObject), or the host
if the [Sandbox.GameObject](/api/Sandbox.GameObject) doesn't have an owner.



The state of the object the RPC is called on will be up-to-date including its [Sandbox.GameTransform](/api/Sandbox.GameTransform) and any
properties with the [Sandbox.SyncAttribute](/api/Sandbox.SyncAttribute) or [Sandbox.HostSyncAttribute](/api/Sandbox.HostSyncAttribute) attributes by the time the method
is called on remote clients. The only except is any synchronized properties marked with [Sandbox.SyncAttribute.Query](/api/Sandbox.SyncAttribute/Query) which
will generally only be received every network tick.

- Kind: attribute
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.RpcAttribute](/api/Sandbox.RpcAttribute)
- Modifiers: sealed
> **Obsolete.** Please use Rpc.Owner


## Constructors

- [`AuthorityAttribute`](/api/Sandbox.AuthorityAttribute/.ctor)

## Properties

- [`Permission`](/api/Sandbox.AuthorityAttribute/Permission)
