QUESTION #1

func GetUserFromRequest(w http.ResponseWriter, r *http.Request) {
        // Your code
}

Which uAdmin function will match the given statement above?

A. uadmin.GetUserFromRequest(w)
B. uadmin.GetUserFromRequest(&w)
C. uadmin.GetUserFromRequest(r)
D. uadmin.GetUserFromRequest(&r)


QUESTION #2

Which uAdmin function will be used to get the full name of the user?

A. uadmin.GetUserFromRequest(r)
B. uadmin.GetUserFromRequest(w)
C. uadmin.GetUserFromRequest(&r)
D. uadmin.GetUserFromRequest(&w)


QUESTION #3

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the username?

A. user.Get(Username)
B. user.Username
C. user = Username
D. user(Username)


QUESTION #4

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the surname of the user?

A. user.Surname
B. user.LastName
C. user.Get(Surname)
D. user.Get(LastName)


QUESTION #5

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the active status of the user?

A. user.Get(Active)
B. user = Active
C. user(Active)
D. user.Active


QUESTION #6

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the email of the user?

A. user.Email
B. user.Get(Email)
C. user = Email
D. user(Email)


QUESTION #7

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the last login of the user?

A. user = LastLogin
B. user.Get(LastLogin)
C. user(LastLogin)
D. user.LastLogin


QUESTION #8

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the admin status of the user?

A. user.Get(Admin)
B. user = Admin
C. user.Admin
D. user(Admin)


QUESTION #9

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the photo of the user?

A. user.Get(Picture)
B. user.Picture
C. user.Get(Photo)
D. user.Photo


QUESTION #10

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the expiration date of the user?

A. user.ExpiresOn
B. user.ExpiryOn
C. user.ExpirationDate
D. user.Expiration


QUESTION #11

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the active session of the user?

A. user.GetActiveSession
B. user.GetActiveSession()
C. user.ActiveSession
D. user.ActiveSession()


QUESTION #12

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the OTP of the user?

A. user.GetOTP()
B. user.GetOTP
C. user.GetUserOTP()
D. user.GetUserOTP


QUESTION #13

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the list of models in the dashboard menu?

A. user.DashboardMenu()
B. user.DashboardMenu
C. user.GetDashboardMenu()
D. user.GetDashboardMenu


QUESTION #14

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to verify the OTP of the user?

A. uadmin.VerifyOTP()
B. uadmin.VerifyOTP("123456")
C. uadmin.VerifyUserOTP()
D. uadmin.VerifyUserOTP("123456")


QUESTION #15

Suppose that user is a variable that assigns the GetUserFromRequest function.

Which declaration will be used to get the session of the user by login?

A. user.GetActiveSession("username")
B. user.Login("username")
C. user.GetActiveSession("username", "123456")
D. user.Login("username", "123456")