KGAPI2::Drive::User

#include <user.h>

Public Member Functions

 User (const User &other)
 
QString displayName () const
 
bool isAuthenticatedUser () const
 
bool operator!= (const User &other) const
 
bool operator== (const User &other) const
 
QString permissionId () const
 
QUrl pictureUrl () const
 

Static Public Member Functions

static UserPtr fromJSON (const QVariantMap &jsonMap)
 

Detailed Description

The authenticated user.

Definition at line 27 of file user.h.

Member Function Documentation

QString User::displayName ( ) const

Returns a plain text displayable name for this user.

Definition at line 64 of file user.cpp.

bool User::isAuthenticatedUser ( ) const

Returns whether this user is the same as the authenticated user for whom the request was made.

Definition at line 74 of file user.cpp.

QString User::permissionId ( ) const

Returns the user's ID as visible in the permissions collection.

Definition at line 79 of file user.cpp.

QUrl User::pictureUrl ( ) const

Returns a URL that points to a profile picture of this user.

Definition at line 69 of file user.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Sep 29 2020 23:18:03 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.