Function pallet_identity::pallet::dispatchables::add_username_authority
source · pub fn add_username_authority<T: Config>(
authority: <<T as Config>::Lookup as StaticLookup>::Source,
suffix: Vec<u8>,
allocation: u32,
)
Expand description
Add an AccountId
with permission to grant usernames with a given suffix
appended.
The authority can grant up to allocation
usernames. To top up the allocation or
change the account used to grant usernames, this call can be used with the updated
parameters to overwrite the existing configuration.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::add_username_authority
.