def graph_user(self) -> GraphUserRequestBuilder:
        """
        Casts the previous resource to user.
        """
        from .graph_user.graph_user_request_builder import GraphUserRequestBuilder

        return GraphUserRequestBuilder(self.request_adapter, self.path_parameters)

        Casts the previous resource to user.
        
msgraph/generated/contacts/item/direct_reports/item/directory_object_item_request_builder.py