SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileDelete.c File Reference


Functions

EFI_STRING_ID GetUserName (IN EFI_USER_PROFILE_HANDLE User)
VOID AddUserToForm (IN EFI_USER_PROFILE_HANDLE User, IN UINT16 Index, IN VOID *OpCodeHandle)
VOID DeleteUser (IN UINT8 UserIndex)
VOID SelectUserToDelete (VOID)

Detailed Description

The functions to delete a user profile.

Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


Function Documentation

VOID AddUserToForm ( IN EFI_USER_PROFILE_HANDLE  User,
IN UINT16  Index,
IN VOID *  OpCodeHandle 
)

Add a username item in form.

Parameters:
[in] User Points to the user profile whose username is added.
[in] Index The index of the user in the user name list
[in] OpCodeHandle Points to container for dynamic created opcodes.

References FORMID_USER_INFO, GetUserName(), KEY_DEL_USER, KEY_FIRST_FORM_MASK, and KEY_MODIFY_USER.

Referenced by SelectUserToDelete(), and SelectUserToModify().

VOID DeleteUser ( IN UINT8  UserIndex  ) 

Delete the user specified by UserIndex in user profile database.

Parameters:
[in] UserIndex The index of user in the user name list to be deleted.

References DeleteCredentialFromProviders(), EFI_STATUS(), FindInfoByType(), mUserManager, and UINTN().

Referenced by UserProfileManagerCallback().

EFI_STRING_ID GetUserName ( IN EFI_USER_PROFILE_HANDLE  User  ) 

Get the username from the specified user.

Parameters:
[in] User Handle of a user profile.
Return values:
EFI_STRING_ID The String Id of the user's username.

References EFI_STATUS(), PWD_PROVIDER_CALLBACK_INFO::HiiHandle, mCallbackInfo, mUserManager, TRUE, UINTN(), and USER_NAME_LENGTH.

Referenced by AddUserToForm().

VOID SelectUserToDelete ( VOID   ) 


Generated on Thu Sep 24 23:44:25 2015 for SecurityPkg[ALL] by  doxygen 1.5.7.1