Enum kanidm_cli::PersonOpt
source · pub enum PersonOpt {
Credential {
commands: AccountCredential,
},
Radius {
commands: AccountRadius,
},
Posix {
commands: PersonPosix,
},
Session {
commands: AccountUserAuthToken,
},
Ssh {
commands: AccountSsh,
},
List(CommonOpt),
Get(AccountNamedOpt),
Update(PersonUpdateOpt),
Create(AccountCreateOpt),
Delete(AccountNamedOpt),
Validity {
commands: AccountValidity,
},
}
Variants§
Credential
Fields
§
commands: AccountCredential
Manage the credentials this person uses for authentication
Radius
Fields
§
commands: AccountRadius
Manage radius access for this person
Posix
Fields
§
commands: PersonPosix
Manage posix extensions for this person allowing access to unix/linux systems
Session
Fields
§
commands: AccountUserAuthToken
Manage sessions (user auth tokens) associated to this person.
Ssh
Fields
§
commands: AccountSsh
Manage ssh public key’s associated to this person
List(CommonOpt)
List all persons
Get(AccountNamedOpt)
View a specific person
Update(PersonUpdateOpt)
Update a specific person’s attributes
Create(AccountCreateOpt)
Create a new person’s account
Delete(AccountNamedOpt)
Delete a person’s account
Validity
Fields
§
commands: AccountValidity
Manage a person’s account validity, such as expiry time (account lock/unlock)
Implementations§
Trait Implementations§
source§impl FromArgMatches for PersonOpt
impl FromArgMatches for PersonOpt
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Subcommand for PersonOpt
impl Subcommand for PersonOpt
source§fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
source§fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommand