Home | History | Annotate | Download | only in cros

Lines Matching refs:username

146 def assert_username(data_proto, username):
150 @param username: the username to check for
151 @raises OwnershipError if data_proto isn't associated with username
153 if data_proto.username != username:
154 raise OwnershipError('Incorrect username.')
387 def get_user_policy_key_filename(username):
388 """Returns the path to the user policy key for the given username.
390 @param username: the user whose policy key we want the path to.
394 cryptohome.get_user_hash(username),